|
|
|
@ -10,6 +10,7 @@ import (
|
|
|
|
|
_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
_ "google.golang.org/protobuf/types/known/emptypb"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
|
|
|
|
)
|
|
|
|
@ -21,185 +22,6 @@ const (
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type ListNotesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesRequest) Reset() {
|
|
|
|
|
*x = ListNotesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListNotesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[0]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ListNotesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNotesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ListNotesResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) Reset() {
|
|
|
|
|
*x = ListNotesResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListNotesResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[1]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ListNotesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNotesResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) GetNote() *Note {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Note
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AddNoteRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) Reset() {
|
|
|
|
|
*x = AddNoteRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*AddNoteRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[2]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddNoteRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AddNoteRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) GetTitle() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Title
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AddNoteResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) Reset() {
|
|
|
|
|
*x = AddNoteResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*AddNoteResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[3]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddNoteResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AddNoteResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) GetNote() *Note {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Note
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Note struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
@ -213,7 +35,7 @@ type Note struct {
|
|
|
|
|
func (x *Note) Reset() {
|
|
|
|
|
*x = Note{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[4]
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -226,7 +48,7 @@ func (x *Note) String() string {
|
|
|
|
|
func (*Note) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Note) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[4]
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[0]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -239,7 +61,7 @@ func (x *Note) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Note.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Note) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Note) GetId() string {
|
|
|
|
@ -263,50 +85,336 @@ func (x *Note) GetArchived() bool {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ListNotesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesRequest) Reset() {
|
|
|
|
|
*x = ListNotesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListNotesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[1]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ListNotesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNotesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ListNotesResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) Reset() {
|
|
|
|
|
*x = ListNotesResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListNotesResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[2]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ListNotesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNotesResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListNotesResponse) GetNote() *Note {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Note
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AddNoteRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) Reset() {
|
|
|
|
|
*x = AddNoteRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*AddNoteRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[3]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddNoteRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AddNoteRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteRequest) GetTitle() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Title
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AddNoteResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) Reset() {
|
|
|
|
|
*x = AddNoteResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*AddNoteResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[4]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddNoteResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AddNoteResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddNoteResponse) GetNote() *Note {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Note
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type EditNoteRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteRequest) Reset() {
|
|
|
|
|
*x = EditNoteRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[5]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*EditNoteRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[5]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use EditNoteRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*EditNoteRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteRequest) GetNote() *Note {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Note
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type EditNoteResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteResponse) Reset() {
|
|
|
|
|
*x = EditNoteResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[6]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*EditNoteResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_notes_v1_notes_proto_msgTypes[6]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use EditNoteResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*EditNoteResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *EditNoteResponse) GetNote() *Note {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Note
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_notes_v1_notes_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_notes_v1_notes_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x14, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73,
|
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31,
|
|
|
|
|
0x1a, 0x1b, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
|
|
|
|
|
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a,
|
|
|
|
|
0x10, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x22, 0x37, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
|
|
|
|
|
0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x41, 0x64,
|
|
|
|
|
0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
|
0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74,
|
|
|
|
|
0x6c, 0x65, 0x22, 0x35, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e,
|
|
|
|
|
0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x5d, 0x0a, 0x04, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x12, 0x18, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xba,
|
|
|
|
|
0x48, 0x05, 0x72, 0x03, 0xb0, 0x01, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x74,
|
|
|
|
|
0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xba, 0x48, 0x06, 0x72,
|
|
|
|
|
0x04, 0x10, 0x01, 0x18, 0x32, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
|
|
|
|
0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
|
|
|
|
|
0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x32, 0x9a, 0x01, 0x0a, 0x0c, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x4c, 0x69, 0x73,
|
|
|
|
|
0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76,
|
|
|
|
|
0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
|
|
|
|
|
0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
|
|
|
0x00, 0x30, 0x01, 0x12, 0x40, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x18,
|
|
|
|
|
0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73,
|
|
|
|
|
0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x9a, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x6f,
|
|
|
|
|
0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x50, 0x72, 0x6f,
|
|
|
|
|
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
|
|
|
|
0x2f, 0x73, 0x75, 0x6e, 0x64, 0x6f, 0x77, 0x6e, 0x64, 0x65, 0x76, 0x2f, 0x67, 0x72, 0x70, 0x63,
|
|
|
|
|
0x2d, 0x61, 0x70, 0x69, 0x2d, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
|
|
|
|
|
0x74, 0x6f, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x6f, 0x74, 0x65,
|
|
|
|
|
0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4e, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x4e, 0x6f, 0x74, 0x65,
|
|
|
|
|
0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2,
|
|
|
|
|
0x02, 0x14, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65,
|
|
|
|
|
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x3a, 0x3a,
|
|
|
|
|
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67,
|
|
|
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
|
|
|
|
|
0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x04, 0x4e, 0x6f,
|
|
|
|
|
0x74, 0x65, 0x12, 0x18, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08,
|
|
|
|
|
0xba, 0x48, 0x05, 0x72, 0x03, 0xb0, 0x01, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05,
|
|
|
|
|
0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xba, 0x48, 0x06,
|
|
|
|
|
0x72, 0x04, 0x10, 0x01, 0x18, 0x32, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a,
|
|
|
|
|
0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x22, 0x12, 0x0a, 0x10, 0x4c, 0x69, 0x73,
|
|
|
|
|
0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a,
|
|
|
|
|
0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x0e, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65,
|
|
|
|
|
0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
|
|
|
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x22, 0x35,
|
|
|
|
|
0x0a, 0x0f, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x0e, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52,
|
|
|
|
|
0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x35, 0x0a, 0x0f, 0x45, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76,
|
|
|
|
|
0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x36, 0x0a, 0x10,
|
|
|
|
|
0x45, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
|
|
|
0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04,
|
|
|
|
|
0x6e, 0x6f, 0x74, 0x65, 0x32, 0xdf, 0x01, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x53, 0x65,
|
|
|
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x73, 0x12, 0x1a, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
|
|
|
|
|
0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b,
|
|
|
|
|
0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f,
|
|
|
|
|
0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12,
|
|
|
|
|
0x40, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x6e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
|
|
|
|
|
0x41, 0x64, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
|
|
|
0x00, 0x12, 0x43, 0x0a, 0x08, 0x45, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x19, 0x2e,
|
|
|
|
|
0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73,
|
|
|
|
|
0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x9a, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x6e,
|
|
|
|
|
0x6f, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x50, 0x72,
|
|
|
|
|
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
|
0x6d, 0x2f, 0x73, 0x75, 0x6e, 0x64, 0x6f, 0x77, 0x6e, 0x64, 0x65, 0x76, 0x2f, 0x67, 0x72, 0x70,
|
|
|
|
|
0x63, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x70, 0x72,
|
|
|
|
|
0x6f, 0x74, 0x6f, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4e, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31,
|
|
|
|
|
0xe2, 0x02, 0x14, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
|
|
|
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x3a,
|
|
|
|
|
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@ -321,26 +429,32 @@ func file_notes_v1_notes_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_notes_v1_notes_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_notes_v1_notes_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
|
|
|
var file_notes_v1_notes_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
|
|
|
var file_notes_v1_notes_proto_goTypes = []interface{}{
|
|
|
|
|
(*ListNotesRequest)(nil), // 0: notes.v1.ListNotesRequest
|
|
|
|
|
(*ListNotesResponse)(nil), // 1: notes.v1.ListNotesResponse
|
|
|
|
|
(*AddNoteRequest)(nil), // 2: notes.v1.AddNoteRequest
|
|
|
|
|
(*AddNoteResponse)(nil), // 3: notes.v1.AddNoteResponse
|
|
|
|
|
(*Note)(nil), // 4: notes.v1.Note
|
|
|
|
|
(*Note)(nil), // 0: notes.v1.Note
|
|
|
|
|
(*ListNotesRequest)(nil), // 1: notes.v1.ListNotesRequest
|
|
|
|
|
(*ListNotesResponse)(nil), // 2: notes.v1.ListNotesResponse
|
|
|
|
|
(*AddNoteRequest)(nil), // 3: notes.v1.AddNoteRequest
|
|
|
|
|
(*AddNoteResponse)(nil), // 4: notes.v1.AddNoteResponse
|
|
|
|
|
(*EditNoteRequest)(nil), // 5: notes.v1.EditNoteRequest
|
|
|
|
|
(*EditNoteResponse)(nil), // 6: notes.v1.EditNoteResponse
|
|
|
|
|
}
|
|
|
|
|
var file_notes_v1_notes_proto_depIdxs = []int32{
|
|
|
|
|
4, // 0: notes.v1.ListNotesResponse.note:type_name -> notes.v1.Note
|
|
|
|
|
4, // 1: notes.v1.AddNoteResponse.note:type_name -> notes.v1.Note
|
|
|
|
|
0, // 2: notes.v1.NotesService.ListNotes:input_type -> notes.v1.ListNotesRequest
|
|
|
|
|
2, // 3: notes.v1.NotesService.AddNote:input_type -> notes.v1.AddNoteRequest
|
|
|
|
|
1, // 4: notes.v1.NotesService.ListNotes:output_type -> notes.v1.ListNotesResponse
|
|
|
|
|
3, // 5: notes.v1.NotesService.AddNote:output_type -> notes.v1.AddNoteResponse
|
|
|
|
|
4, // [4:6] is the sub-list for method output_type
|
|
|
|
|
2, // [2:4] is the sub-list for method input_type
|
|
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
|
|
|
|
0, // 0: notes.v1.ListNotesResponse.note:type_name -> notes.v1.Note
|
|
|
|
|
0, // 1: notes.v1.AddNoteResponse.note:type_name -> notes.v1.Note
|
|
|
|
|
0, // 2: notes.v1.EditNoteRequest.note:type_name -> notes.v1.Note
|
|
|
|
|
0, // 3: notes.v1.EditNoteResponse.note:type_name -> notes.v1.Note
|
|
|
|
|
1, // 4: notes.v1.NotesService.ListNotes:input_type -> notes.v1.ListNotesRequest
|
|
|
|
|
3, // 5: notes.v1.NotesService.AddNote:input_type -> notes.v1.AddNoteRequest
|
|
|
|
|
5, // 6: notes.v1.NotesService.EditNote:input_type -> notes.v1.EditNoteRequest
|
|
|
|
|
2, // 7: notes.v1.NotesService.ListNotes:output_type -> notes.v1.ListNotesResponse
|
|
|
|
|
4, // 8: notes.v1.NotesService.AddNote:output_type -> notes.v1.AddNoteResponse
|
|
|
|
|
6, // 9: notes.v1.NotesService.EditNote:output_type -> notes.v1.EditNoteResponse
|
|
|
|
|
7, // [7:10] is the sub-list for method output_type
|
|
|
|
|
4, // [4:7] is the sub-list for method input_type
|
|
|
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
|
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:4] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_notes_v1_notes_proto_init() }
|
|
|
|
@ -350,7 +464,7 @@ func file_notes_v1_notes_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_notes_v1_notes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*ListNotesRequest); i {
|
|
|
|
|
switch v := v.(*Note); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -362,7 +476,7 @@ func file_notes_v1_notes_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_notes_v1_notes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*ListNotesResponse); i {
|
|
|
|
|
switch v := v.(*ListNotesRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -374,7 +488,7 @@ func file_notes_v1_notes_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_notes_v1_notes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*AddNoteRequest); i {
|
|
|
|
|
switch v := v.(*ListNotesResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -386,7 +500,7 @@ func file_notes_v1_notes_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_notes_v1_notes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*AddNoteResponse); i {
|
|
|
|
|
switch v := v.(*AddNoteRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -398,7 +512,31 @@ func file_notes_v1_notes_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_notes_v1_notes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*Note); i {
|
|
|
|
|
switch v := v.(*AddNoteResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_notes_v1_notes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*EditNoteRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_notes_v1_notes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*EditNoteResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -416,7 +554,7 @@ func file_notes_v1_notes_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_notes_v1_notes_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 5,
|
|
|
|
|
NumMessages: 7,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|