v1

package
v0.0.0-...-b2f7bc3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Knowledge_CreateKnowledge_FullMethodName = "/api.knowledge.v1.Knowledge/CreateKnowledge"
	Knowledge_UpdateKnowledge_FullMethodName = "/api.knowledge.v1.Knowledge/UpdateKnowledge"
	Knowledge_DeleteKnowledge_FullMethodName = "/api.knowledge.v1.Knowledge/DeleteKnowledge"
	Knowledge_GetKnowledge_FullMethodName    = "/api.knowledge.v1.Knowledge/GetKnowledge"
	Knowledge_ListKnowledge_FullMethodName   = "/api.knowledge.v1.Knowledge/ListKnowledge"
)
View Source
const OperationKnowledgeCreateKnowledge = "/api.knowledge.v1.Knowledge/CreateKnowledge"
View Source
const OperationKnowledgeDeleteKnowledge = "/api.knowledge.v1.Knowledge/DeleteKnowledge"
View Source
const OperationKnowledgeGetKnowledge = "/api.knowledge.v1.Knowledge/GetKnowledge"
View Source
const OperationKnowledgeListKnowledge = "/api.knowledge.v1.Knowledge/ListKnowledge"
View Source
const OperationKnowledgeUpdateKnowledge = "/api.knowledge.v1.Knowledge/UpdateKnowledge"

Variables

View Source
var (
	ErrorReason_name = map[int32]string{
		0: "KNOWLEDGE_NOT_FOUND",
	}
	ErrorReason_value = map[string]int32{
		"KNOWLEDGE_NOT_FOUND": 0,
	}
)

Enum value maps for ErrorReason.

View Source
var File_api_knowledge_v1_error_reason_proto protoreflect.FileDescriptor
View Source
var File_api_knowledge_v1_knowledge_proto protoreflect.FileDescriptor
View Source
var Knowledge_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.knowledge.v1.Knowledge",
	HandlerType: (*KnowledgeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateKnowledge",
			Handler:    _Knowledge_CreateKnowledge_Handler,
		},
		{
			MethodName: "UpdateKnowledge",
			Handler:    _Knowledge_UpdateKnowledge_Handler,
		},
		{
			MethodName: "DeleteKnowledge",
			Handler:    _Knowledge_DeleteKnowledge_Handler,
		},
		{
			MethodName: "GetKnowledge",
			Handler:    _Knowledge_GetKnowledge_Handler,
		},
		{
			MethodName: "ListKnowledge",
			Handler:    _Knowledge_ListKnowledge_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/knowledge/v1/knowledge.proto",
}

Knowledge_ServiceDesc is the grpc.ServiceDesc for Knowledge service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterKnowledgeHTTPServer

func RegisterKnowledgeHTTPServer(s *http.Server, srv KnowledgeHTTPServer)

func RegisterKnowledgeServer

func RegisterKnowledgeServer(s grpc.ServiceRegistrar, srv KnowledgeServer)

Types

type CreateKnowledgeReply

type CreateKnowledgeReply struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Pid         int64                  `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
	Name        string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	ImportLevel string                 `protobuf:"bytes,6,opt,name=import_level,json=importLevel,proto3" json:"import_level,omitempty"`
	Notes       string                 `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKnowledgeReply) Descriptor deprecated

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

Deprecated: Use CreateKnowledgeReply.ProtoReflect.Descriptor instead.

func (*CreateKnowledgeReply) GetCreatedAt

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

func (*CreateKnowledgeReply) GetId

func (x *CreateKnowledgeReply) GetId() int64

func (*CreateKnowledgeReply) GetImportLevel

func (x *CreateKnowledgeReply) GetImportLevel() string

func (*CreateKnowledgeReply) GetName

func (x *CreateKnowledgeReply) GetName() string

func (*CreateKnowledgeReply) GetNotes

func (x *CreateKnowledgeReply) GetNotes() string

func (*CreateKnowledgeReply) GetPid

func (x *CreateKnowledgeReply) GetPid() int64

func (*CreateKnowledgeReply) GetUpdatedAt

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

func (*CreateKnowledgeReply) ProtoMessage

func (*CreateKnowledgeReply) ProtoMessage()

func (*CreateKnowledgeReply) ProtoReflect

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

func (*CreateKnowledgeReply) Reset

func (x *CreateKnowledgeReply) Reset()

func (*CreateKnowledgeReply) String

func (x *CreateKnowledgeReply) String() string

type CreateKnowledgeRequest

type CreateKnowledgeRequest struct {
	Pid         int64  `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ImportLevel string `protobuf:"bytes,3,opt,name=import_level,json=importLevel,proto3" json:"import_level,omitempty"`
	Notes       string `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKnowledgeRequest) Descriptor deprecated

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

Deprecated: Use CreateKnowledgeRequest.ProtoReflect.Descriptor instead.

func (*CreateKnowledgeRequest) GetImportLevel

func (x *CreateKnowledgeRequest) GetImportLevel() string

func (*CreateKnowledgeRequest) GetName

func (x *CreateKnowledgeRequest) GetName() string

func (*CreateKnowledgeRequest) GetNotes

func (x *CreateKnowledgeRequest) GetNotes() string

func (*CreateKnowledgeRequest) GetPid

func (x *CreateKnowledgeRequest) GetPid() int64

func (*CreateKnowledgeRequest) ProtoMessage

func (*CreateKnowledgeRequest) ProtoMessage()

func (*CreateKnowledgeRequest) ProtoReflect

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

func (*CreateKnowledgeRequest) Reset

func (x *CreateKnowledgeRequest) Reset()

func (*CreateKnowledgeRequest) String

func (x *CreateKnowledgeRequest) String() string

type DeleteKnowledgeReply

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

func (*DeleteKnowledgeReply) Descriptor deprecated

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

Deprecated: Use DeleteKnowledgeReply.ProtoReflect.Descriptor instead.

func (*DeleteKnowledgeReply) ProtoMessage

func (*DeleteKnowledgeReply) ProtoMessage()

func (*DeleteKnowledgeReply) ProtoReflect

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

func (*DeleteKnowledgeReply) Reset

func (x *DeleteKnowledgeReply) Reset()

func (*DeleteKnowledgeReply) String

func (x *DeleteKnowledgeReply) String() string

type DeleteKnowledgeRequest

type DeleteKnowledgeRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKnowledgeRequest) Descriptor deprecated

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

Deprecated: Use DeleteKnowledgeRequest.ProtoReflect.Descriptor instead.

func (*DeleteKnowledgeRequest) GetId

func (x *DeleteKnowledgeRequest) GetId() int64

func (*DeleteKnowledgeRequest) ProtoMessage

func (*DeleteKnowledgeRequest) ProtoMessage()

func (*DeleteKnowledgeRequest) ProtoReflect

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

func (*DeleteKnowledgeRequest) Reset

func (x *DeleteKnowledgeRequest) Reset()

func (*DeleteKnowledgeRequest) String

func (x *DeleteKnowledgeRequest) String() string

type ErrorReason

type ErrorReason int32
const (
	ErrorReason_KNOWLEDGE_NOT_FOUND ErrorReason = 0
)

func (ErrorReason) Descriptor

func (ErrorReason) Enum

func (x ErrorReason) Enum() *ErrorReason

func (ErrorReason) EnumDescriptor deprecated

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

Deprecated: Use ErrorReason.Descriptor instead.

func (ErrorReason) Number

func (x ErrorReason) Number() protoreflect.EnumNumber

func (ErrorReason) String

func (x ErrorReason) String() string

func (ErrorReason) Type

type GetKnowledgeReply

type GetKnowledgeReply struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Pid         int64                  `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
	Name        string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	ImportLevel string                 `protobuf:"bytes,6,opt,name=import_level,json=importLevel,proto3" json:"import_level,omitempty"`
	Notes       string                 `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKnowledgeReply) Descriptor deprecated

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

Deprecated: Use GetKnowledgeReply.ProtoReflect.Descriptor instead.

func (*GetKnowledgeReply) GetCreatedAt

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

func (*GetKnowledgeReply) GetId

func (x *GetKnowledgeReply) GetId() int64

func (*GetKnowledgeReply) GetImportLevel

func (x *GetKnowledgeReply) GetImportLevel() string

func (*GetKnowledgeReply) GetName

func (x *GetKnowledgeReply) GetName() string

func (*GetKnowledgeReply) GetNotes

func (x *GetKnowledgeReply) GetNotes() string

func (*GetKnowledgeReply) GetPid

func (x *GetKnowledgeReply) GetPid() int64

func (*GetKnowledgeReply) GetUpdatedAt

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

func (*GetKnowledgeReply) ProtoMessage

func (*GetKnowledgeReply) ProtoMessage()

func (*GetKnowledgeReply) ProtoReflect

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

func (*GetKnowledgeReply) Reset

func (x *GetKnowledgeReply) Reset()

func (*GetKnowledgeReply) String

func (x *GetKnowledgeReply) String() string

type GetKnowledgeRequest

type GetKnowledgeRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKnowledgeRequest) Descriptor deprecated

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

Deprecated: Use GetKnowledgeRequest.ProtoReflect.Descriptor instead.

func (*GetKnowledgeRequest) GetId

func (x *GetKnowledgeRequest) GetId() int64

func (*GetKnowledgeRequest) ProtoMessage

func (*GetKnowledgeRequest) ProtoMessage()

func (*GetKnowledgeRequest) ProtoReflect

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

func (*GetKnowledgeRequest) Reset

func (x *GetKnowledgeRequest) Reset()

func (*GetKnowledgeRequest) String

func (x *GetKnowledgeRequest) String() string

type KnowledgeClient

type KnowledgeClient interface {
	CreateKnowledge(ctx context.Context, in *CreateKnowledgeRequest, opts ...grpc.CallOption) (*CreateKnowledgeReply, error)
	UpdateKnowledge(ctx context.Context, in *UpdateKnowledgeRequest, opts ...grpc.CallOption) (*UpdateKnowledgeReply, error)
	DeleteKnowledge(ctx context.Context, in *DeleteKnowledgeRequest, opts ...grpc.CallOption) (*DeleteKnowledgeReply, error)
	GetKnowledge(ctx context.Context, in *GetKnowledgeRequest, opts ...grpc.CallOption) (*GetKnowledgeReply, error)
	ListKnowledge(ctx context.Context, in *ListKnowledgeRequest, opts ...grpc.CallOption) (*ListKnowledgeReply, error)
}

KnowledgeClient is the client API for Knowledge 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 NewKnowledgeClient

func NewKnowledgeClient(cc grpc.ClientConnInterface) KnowledgeClient

type KnowledgeDto

type KnowledgeDto struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Pid         int64                  `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
	Name        string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	ImportLevel string                 `protobuf:"bytes,6,opt,name=import_level,json=importLevel,proto3" json:"import_level,omitempty"`
	Notes       string                 `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*KnowledgeDto) Descriptor deprecated

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

Deprecated: Use KnowledgeDto.ProtoReflect.Descriptor instead.

func (*KnowledgeDto) GetCreatedAt

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

func (*KnowledgeDto) GetId

func (x *KnowledgeDto) GetId() int64

func (*KnowledgeDto) GetImportLevel

func (x *KnowledgeDto) GetImportLevel() string

func (*KnowledgeDto) GetName

func (x *KnowledgeDto) GetName() string

func (*KnowledgeDto) GetNotes

func (x *KnowledgeDto) GetNotes() string

func (*KnowledgeDto) GetPid

func (x *KnowledgeDto) GetPid() int64

func (*KnowledgeDto) GetUpdatedAt

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

func (*KnowledgeDto) ProtoMessage

func (*KnowledgeDto) ProtoMessage()

func (*KnowledgeDto) ProtoReflect

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

func (*KnowledgeDto) Reset

func (x *KnowledgeDto) Reset()

func (*KnowledgeDto) String

func (x *KnowledgeDto) String() string

type KnowledgeHTTPClient

type KnowledgeHTTPClient interface {
	CreateKnowledge(ctx context.Context, req *CreateKnowledgeRequest, opts ...http.CallOption) (rsp *CreateKnowledgeReply, err error)
	DeleteKnowledge(ctx context.Context, req *DeleteKnowledgeRequest, opts ...http.CallOption) (rsp *DeleteKnowledgeReply, err error)
	GetKnowledge(ctx context.Context, req *GetKnowledgeRequest, opts ...http.CallOption) (rsp *GetKnowledgeReply, err error)
	ListKnowledge(ctx context.Context, req *ListKnowledgeRequest, opts ...http.CallOption) (rsp *ListKnowledgeReply, err error)
	UpdateKnowledge(ctx context.Context, req *UpdateKnowledgeRequest, opts ...http.CallOption) (rsp *UpdateKnowledgeReply, err error)
}

func NewKnowledgeHTTPClient

func NewKnowledgeHTTPClient(client *http.Client) KnowledgeHTTPClient

type KnowledgeHTTPClientImpl

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

func (*KnowledgeHTTPClientImpl) CreateKnowledge

func (*KnowledgeHTTPClientImpl) DeleteKnowledge

func (*KnowledgeHTTPClientImpl) GetKnowledge

func (*KnowledgeHTTPClientImpl) ListKnowledge

func (*KnowledgeHTTPClientImpl) UpdateKnowledge

type KnowledgeServer

type KnowledgeServer interface {
	CreateKnowledge(context.Context, *CreateKnowledgeRequest) (*CreateKnowledgeReply, error)
	UpdateKnowledge(context.Context, *UpdateKnowledgeRequest) (*UpdateKnowledgeReply, error)
	DeleteKnowledge(context.Context, *DeleteKnowledgeRequest) (*DeleteKnowledgeReply, error)
	GetKnowledge(context.Context, *GetKnowledgeRequest) (*GetKnowledgeReply, error)
	ListKnowledge(context.Context, *ListKnowledgeRequest) (*ListKnowledgeReply, error)
	// contains filtered or unexported methods
}

KnowledgeServer is the server API for Knowledge service. All implementations must embed UnimplementedKnowledgeServer for forward compatibility

type ListKnowledgeReply

type ListKnowledgeReply struct {
	Count int64           `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Data  []*KnowledgeDto `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKnowledgeReply) Descriptor deprecated

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

Deprecated: Use ListKnowledgeReply.ProtoReflect.Descriptor instead.

func (*ListKnowledgeReply) GetCount

func (x *ListKnowledgeReply) GetCount() int64

func (*ListKnowledgeReply) GetData

func (x *ListKnowledgeReply) GetData() []*KnowledgeDto

func (*ListKnowledgeReply) ProtoMessage

func (*ListKnowledgeReply) ProtoMessage()

func (*ListKnowledgeReply) ProtoReflect

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

func (*ListKnowledgeReply) Reset

func (x *ListKnowledgeReply) Reset()

func (*ListKnowledgeReply) String

func (x *ListKnowledgeReply) String() string

type ListKnowledgeRequest

type ListKnowledgeRequest struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Pid         int64  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	ImportLevel string `protobuf:"bytes,3,opt,name=import_level,json=importLevel,proto3" json:"import_level,omitempty"`
	Keyword     string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page        int64  `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
	PageSize    int64  `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order       string `protobuf:"bytes,7,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKnowledgeRequest) Descriptor deprecated

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

Deprecated: Use ListKnowledgeRequest.ProtoReflect.Descriptor instead.

func (*ListKnowledgeRequest) GetId

func (x *ListKnowledgeRequest) GetId() int64

func (*ListKnowledgeRequest) GetImportLevel

func (x *ListKnowledgeRequest) GetImportLevel() string

func (*ListKnowledgeRequest) GetKeyword

func (x *ListKnowledgeRequest) GetKeyword() string

func (*ListKnowledgeRequest) GetOrder

func (x *ListKnowledgeRequest) GetOrder() string

func (*ListKnowledgeRequest) GetPage

func (x *ListKnowledgeRequest) GetPage() int64

func (*ListKnowledgeRequest) GetPageSize

func (x *ListKnowledgeRequest) GetPageSize() int64

func (*ListKnowledgeRequest) GetPid

func (x *ListKnowledgeRequest) GetPid() int64

func (*ListKnowledgeRequest) ProtoMessage

func (*ListKnowledgeRequest) ProtoMessage()

func (*ListKnowledgeRequest) ProtoReflect

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

func (*ListKnowledgeRequest) Reset

func (x *ListKnowledgeRequest) Reset()

func (*ListKnowledgeRequest) String

func (x *ListKnowledgeRequest) String() string

type UnimplementedKnowledgeServer

type UnimplementedKnowledgeServer struct {
}

UnimplementedKnowledgeServer must be embedded to have forward compatible implementations.

func (UnimplementedKnowledgeServer) CreateKnowledge

func (UnimplementedKnowledgeServer) DeleteKnowledge

func (UnimplementedKnowledgeServer) GetKnowledge

func (UnimplementedKnowledgeServer) ListKnowledge

func (UnimplementedKnowledgeServer) UpdateKnowledge

type UnsafeKnowledgeServer

type UnsafeKnowledgeServer interface {
	// contains filtered or unexported methods
}

UnsafeKnowledgeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KnowledgeServer will result in compilation errors.

type UpdateKnowledgeReply

type UpdateKnowledgeReply struct {
	Id          int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Pid         int64                  `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
	Name        string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	ImportLevel string                 `protobuf:"bytes,6,opt,name=import_level,json=importLevel,proto3" json:"import_level,omitempty"`
	Notes       string                 `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateKnowledgeReply) Descriptor deprecated

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

Deprecated: Use UpdateKnowledgeReply.ProtoReflect.Descriptor instead.

func (*UpdateKnowledgeReply) GetCreatedAt

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

func (*UpdateKnowledgeReply) GetId

func (x *UpdateKnowledgeReply) GetId() int64

func (*UpdateKnowledgeReply) GetImportLevel

func (x *UpdateKnowledgeReply) GetImportLevel() string

func (*UpdateKnowledgeReply) GetName

func (x *UpdateKnowledgeReply) GetName() string

func (*UpdateKnowledgeReply) GetNotes

func (x *UpdateKnowledgeReply) GetNotes() string

func (*UpdateKnowledgeReply) GetPid

func (x *UpdateKnowledgeReply) GetPid() int64

func (*UpdateKnowledgeReply) GetUpdatedAt

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

func (*UpdateKnowledgeReply) ProtoMessage

func (*UpdateKnowledgeReply) ProtoMessage()

func (*UpdateKnowledgeReply) ProtoReflect

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

func (*UpdateKnowledgeReply) Reset

func (x *UpdateKnowledgeReply) Reset()

func (*UpdateKnowledgeReply) String

func (x *UpdateKnowledgeReply) String() string

type UpdateKnowledgeRequest

type UpdateKnowledgeRequest struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Pid         int64  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	ImportLevel string `protobuf:"bytes,4,opt,name=import_level,json=importLevel,proto3" json:"import_level,omitempty"`
	Notes       string `protobuf:"bytes,5,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateKnowledgeRequest) Descriptor deprecated

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

Deprecated: Use UpdateKnowledgeRequest.ProtoReflect.Descriptor instead.

func (*UpdateKnowledgeRequest) GetId

func (x *UpdateKnowledgeRequest) GetId() int64

func (*UpdateKnowledgeRequest) GetImportLevel

func (x *UpdateKnowledgeRequest) GetImportLevel() string

func (*UpdateKnowledgeRequest) GetName

func (x *UpdateKnowledgeRequest) GetName() string

func (*UpdateKnowledgeRequest) GetNotes

func (x *UpdateKnowledgeRequest) GetNotes() string

func (*UpdateKnowledgeRequest) GetPid

func (x *UpdateKnowledgeRequest) GetPid() int64

func (*UpdateKnowledgeRequest) ProtoMessage

func (*UpdateKnowledgeRequest) ProtoMessage()

func (*UpdateKnowledgeRequest) ProtoReflect

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

func (*UpdateKnowledgeRequest) Reset

func (x *UpdateKnowledgeRequest) Reset()

func (*UpdateKnowledgeRequest) String

func (x *UpdateKnowledgeRequest) String() string

Jump to

Keyboard shortcuts

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