498 lines
18 KiB
Go
498 lines
18 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.12
|
|
// protoc (unknown)
|
|
// source: api/v1/memo_view_service.proto
|
|
|
|
package apiv1
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type MemoView struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The resource name of the memo view.
|
|
// Format: users/{user}/views/{view}
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// The title of the memo view.
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
// The CEL filter expression for the memo view, using the same grammar as the
|
|
// ListMemos `filter` argument. Reuse it by passing this value to ListMemos.
|
|
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MemoView) Reset() {
|
|
*x = MemoView{}
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MemoView) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MemoView) ProtoMessage() {}
|
|
|
|
func (x *MemoView) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MemoView.ProtoReflect.Descriptor instead.
|
|
func (*MemoView) Descriptor() ([]byte, []int) {
|
|
return file_api_v1_memo_view_service_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *MemoView) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MemoView) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MemoView) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListMemoViewsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The parent resource where memo views are listed.
|
|
// Format: users/{user}
|
|
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMemoViewsRequest) Reset() {
|
|
*x = ListMemoViewsRequest{}
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMemoViewsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMemoViewsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListMemoViewsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMemoViewsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMemoViewsRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_v1_memo_view_service_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListMemoViewsRequest) GetParent() string {
|
|
if x != nil {
|
|
return x.Parent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListMemoViewsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The list of memo views.
|
|
MemoViews []*MemoView `protobuf:"bytes,1,rep,name=memo_views,json=memoViews,proto3" json:"memo_views,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMemoViewsResponse) Reset() {
|
|
*x = ListMemoViewsResponse{}
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMemoViewsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMemoViewsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListMemoViewsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMemoViewsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListMemoViewsResponse) Descriptor() ([]byte, []int) {
|
|
return file_api_v1_memo_view_service_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListMemoViewsResponse) GetMemoViews() []*MemoView {
|
|
if x != nil {
|
|
return x.MemoViews
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMemoViewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The resource name of the memo view to retrieve.
|
|
// Format: users/{user}/views/{view}
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMemoViewRequest) Reset() {
|
|
*x = GetMemoViewRequest{}
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMemoViewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMemoViewRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMemoViewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMemoViewRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMemoViewRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_v1_memo_view_service_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetMemoViewRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateMemoViewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The parent resource where this memo view will be created.
|
|
// Format: users/{user}
|
|
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
|
// Required. The memo view to create.
|
|
MemoView *MemoView `protobuf:"bytes,2,opt,name=memo_view,json=memoView,proto3" json:"memo_view,omitempty"`
|
|
// Optional. If set, validate the request, but do not actually create the memo view.
|
|
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateMemoViewRequest) Reset() {
|
|
*x = CreateMemoViewRequest{}
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateMemoViewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateMemoViewRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateMemoViewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateMemoViewRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateMemoViewRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_v1_memo_view_service_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CreateMemoViewRequest) GetParent() string {
|
|
if x != nil {
|
|
return x.Parent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateMemoViewRequest) GetMemoView() *MemoView {
|
|
if x != nil {
|
|
return x.MemoView
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateMemoViewRequest) GetValidateOnly() bool {
|
|
if x != nil {
|
|
return x.ValidateOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpdateMemoViewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The memo view resource which replaces the resource on the server.
|
|
MemoView *MemoView `protobuf:"bytes,1,opt,name=memo_view,json=memoView,proto3" json:"memo_view,omitempty"`
|
|
// Optional. The list of fields to update.
|
|
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateMemoViewRequest) Reset() {
|
|
*x = UpdateMemoViewRequest{}
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateMemoViewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateMemoViewRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateMemoViewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateMemoViewRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateMemoViewRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_v1_memo_view_service_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UpdateMemoViewRequest) GetMemoView() *MemoView {
|
|
if x != nil {
|
|
return x.MemoView
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateMemoViewRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
|
if x != nil {
|
|
return x.UpdateMask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteMemoViewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Required. The resource name of the memo view to delete.
|
|
// Format: users/{user}/views/{view}
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteMemoViewRequest) Reset() {
|
|
*x = DeleteMemoViewRequest{}
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteMemoViewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteMemoViewRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteMemoViewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_v1_memo_view_service_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteMemoViewRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMemoViewRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_v1_memo_view_service_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DeleteMemoViewRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_api_v1_memo_view_service_proto protoreflect.FileDescriptor
|
|
|
|
const file_api_v1_memo_view_service_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1eapi/v1/memo_view_service.proto\x12\fmemos.api.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x9f\x01\n" +
|
|
"\bMemoView\x12\x17\n" +
|
|
"\x04name\x18\x01 \x01(\tB\x03\xe0A\bR\x04name\x12\x19\n" +
|
|
"\x05title\x18\x02 \x01(\tB\x03\xe0A\x02R\x05title\x12\x1b\n" +
|
|
"\x06filter\x18\x03 \x01(\tB\x03\xe0A\x02R\x06filter:B\xeaA?\n" +
|
|
"\x15memos.api.v1/MemoView\x12\x19users/{user}/views/{view}*\x05views2\x04view\"M\n" +
|
|
"\x14ListMemoViewsRequest\x125\n" +
|
|
"\x06parent\x18\x01 \x01(\tB\x1d\xe0A\x02\xfaA\x17\x12\x15memos.api.v1/MemoViewR\x06parent\"N\n" +
|
|
"\x15ListMemoViewsResponse\x125\n" +
|
|
"\n" +
|
|
"memo_views\x18\x01 \x03(\v2\x16.memos.api.v1.MemoViewR\tmemoViews\"G\n" +
|
|
"\x12GetMemoViewRequest\x121\n" +
|
|
"\x04name\x18\x01 \x01(\tB\x1d\xe0A\x02\xfaA\x17\n" +
|
|
"\x15memos.api.v1/MemoViewR\x04name\"\xb2\x01\n" +
|
|
"\x15CreateMemoViewRequest\x125\n" +
|
|
"\x06parent\x18\x01 \x01(\tB\x1d\xe0A\x02\xfaA\x17\x12\x15memos.api.v1/MemoViewR\x06parent\x128\n" +
|
|
"\tmemo_view\x18\x02 \x01(\v2\x16.memos.api.v1.MemoViewB\x03\xe0A\x02R\bmemoView\x12(\n" +
|
|
"\rvalidate_only\x18\x03 \x01(\bB\x03\xe0A\x01R\fvalidateOnly\"\x93\x01\n" +
|
|
"\x15UpdateMemoViewRequest\x128\n" +
|
|
"\tmemo_view\x18\x01 \x01(\v2\x16.memos.api.v1.MemoViewB\x03\xe0A\x02R\bmemoView\x12@\n" +
|
|
"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x01R\n" +
|
|
"updateMask\"J\n" +
|
|
"\x15DeleteMemoViewRequest\x121\n" +
|
|
"\x04name\x18\x01 \x01(\tB\x1d\xe0A\x02\xfaA\x17\n" +
|
|
"\x15memos.api.v1/MemoViewR\x04name2\xce\x05\n" +
|
|
"\x0fMemoViewService\x12\x89\x01\n" +
|
|
"\rListMemoViews\x12\".memos.api.v1.ListMemoViewsRequest\x1a#.memos.api.v1.ListMemoViewsResponse\"/\xdaA\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/api/v1/{parent=users/*}/views\x12v\n" +
|
|
"\vGetMemoView\x12 .memos.api.v1.GetMemoViewRequest\x1a\x16.memos.api.v1.MemoView\"-\xdaA\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/api/v1/{name=users/*/views/*}\x12\x93\x01\n" +
|
|
"\x0eCreateMemoView\x12#.memos.api.v1.CreateMemoViewRequest\x1a\x16.memos.api.v1.MemoView\"D\xdaA\x10parent,memo_view\x82\xd3\xe4\x93\x02+:\tmemo_view\"\x1e/api/v1/{parent=users/*}/views\x12\xa2\x01\n" +
|
|
"\x0eUpdateMemoView\x12#.memos.api.v1.UpdateMemoViewRequest\x1a\x16.memos.api.v1.MemoView\"S\xdaA\x15memo_view,update_mask\x82\xd3\xe4\x93\x025:\tmemo_view2(/api/v1/{memo_view.name=users/*/views/*}\x12|\n" +
|
|
"\x0eDeleteMemoView\x12#.memos.api.v1.DeleteMemoViewRequest\x1a\x16.google.protobuf.Empty\"-\xdaA\x04name\x82\xd3\xe4\x93\x02 *\x1e/api/v1/{name=users/*/views/*}B\xac\x01\n" +
|
|
"\x10com.memos.api.v1B\x14MemoViewServiceProtoP\x01Z0github.com/usememos/memos/proto/gen/api/v1;apiv1\xa2\x02\x03MAX\xaa\x02\fMemos.Api.V1\xca\x02\fMemos\\Api\\V1\xe2\x02\x18Memos\\Api\\V1\\GPBMetadata\xea\x02\x0eMemos::Api::V1b\x06proto3"
|
|
|
|
var (
|
|
file_api_v1_memo_view_service_proto_rawDescOnce sync.Once
|
|
file_api_v1_memo_view_service_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_api_v1_memo_view_service_proto_rawDescGZIP() []byte {
|
|
file_api_v1_memo_view_service_proto_rawDescOnce.Do(func() {
|
|
file_api_v1_memo_view_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_memo_view_service_proto_rawDesc), len(file_api_v1_memo_view_service_proto_rawDesc)))
|
|
})
|
|
return file_api_v1_memo_view_service_proto_rawDescData
|
|
}
|
|
|
|
var file_api_v1_memo_view_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_api_v1_memo_view_service_proto_goTypes = []any{
|
|
(*MemoView)(nil), // 0: memos.api.v1.MemoView
|
|
(*ListMemoViewsRequest)(nil), // 1: memos.api.v1.ListMemoViewsRequest
|
|
(*ListMemoViewsResponse)(nil), // 2: memos.api.v1.ListMemoViewsResponse
|
|
(*GetMemoViewRequest)(nil), // 3: memos.api.v1.GetMemoViewRequest
|
|
(*CreateMemoViewRequest)(nil), // 4: memos.api.v1.CreateMemoViewRequest
|
|
(*UpdateMemoViewRequest)(nil), // 5: memos.api.v1.UpdateMemoViewRequest
|
|
(*DeleteMemoViewRequest)(nil), // 6: memos.api.v1.DeleteMemoViewRequest
|
|
(*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask
|
|
(*emptypb.Empty)(nil), // 8: google.protobuf.Empty
|
|
}
|
|
var file_api_v1_memo_view_service_proto_depIdxs = []int32{
|
|
0, // 0: memos.api.v1.ListMemoViewsResponse.memo_views:type_name -> memos.api.v1.MemoView
|
|
0, // 1: memos.api.v1.CreateMemoViewRequest.memo_view:type_name -> memos.api.v1.MemoView
|
|
0, // 2: memos.api.v1.UpdateMemoViewRequest.memo_view:type_name -> memos.api.v1.MemoView
|
|
7, // 3: memos.api.v1.UpdateMemoViewRequest.update_mask:type_name -> google.protobuf.FieldMask
|
|
1, // 4: memos.api.v1.MemoViewService.ListMemoViews:input_type -> memos.api.v1.ListMemoViewsRequest
|
|
3, // 5: memos.api.v1.MemoViewService.GetMemoView:input_type -> memos.api.v1.GetMemoViewRequest
|
|
4, // 6: memos.api.v1.MemoViewService.CreateMemoView:input_type -> memos.api.v1.CreateMemoViewRequest
|
|
5, // 7: memos.api.v1.MemoViewService.UpdateMemoView:input_type -> memos.api.v1.UpdateMemoViewRequest
|
|
6, // 8: memos.api.v1.MemoViewService.DeleteMemoView:input_type -> memos.api.v1.DeleteMemoViewRequest
|
|
2, // 9: memos.api.v1.MemoViewService.ListMemoViews:output_type -> memos.api.v1.ListMemoViewsResponse
|
|
0, // 10: memos.api.v1.MemoViewService.GetMemoView:output_type -> memos.api.v1.MemoView
|
|
0, // 11: memos.api.v1.MemoViewService.CreateMemoView:output_type -> memos.api.v1.MemoView
|
|
0, // 12: memos.api.v1.MemoViewService.UpdateMemoView:output_type -> memos.api.v1.MemoView
|
|
8, // 13: memos.api.v1.MemoViewService.DeleteMemoView:output_type -> google.protobuf.Empty
|
|
9, // [9:14] is the sub-list for method output_type
|
|
4, // [4:9] 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_api_v1_memo_view_service_proto_init() }
|
|
func file_api_v1_memo_view_service_proto_init() {
|
|
if File_api_v1_memo_view_service_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_memo_view_service_proto_rawDesc), len(file_api_v1_memo_view_service_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_api_v1_memo_view_service_proto_goTypes,
|
|
DependencyIndexes: file_api_v1_memo_view_service_proto_depIdxs,
|
|
MessageInfos: file_api_v1_memo_view_service_proto_msgTypes,
|
|
}.Build()
|
|
File_api_v1_memo_view_service_proto = out.File
|
|
file_api_v1_memo_view_service_proto_goTypes = nil
|
|
file_api_v1_memo_view_service_proto_depIdxs = nil
|
|
}
|