Rename service to EngPadSyncService (buf lint), add java_package, add buf.yaml
- Proto service renamed from EngPadSync to EngPadSyncService per buf STANDARD lint rule SERVICE_SUFFIX - Added java_package and java_multiple_files options for Android client - Added buf.yaml with STANDARD lint and FILE breaking detection - Regenerated Go gRPC stubs, updated server references Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.20.3
|
||||
// source: engpad/v1/sync.proto
|
||||
// source: proto/engpad/v1/sync.proto
|
||||
|
||||
package engpadv1
|
||||
|
||||
@@ -34,7 +34,7 @@ type SyncNotebookRequest struct {
|
||||
|
||||
func (x *SyncNotebookRequest) Reset() {
|
||||
*x = SyncNotebookRequest{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[0]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -46,7 +46,7 @@ func (x *SyncNotebookRequest) String() string {
|
||||
func (*SyncNotebookRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SyncNotebookRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[0]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -59,7 +59,7 @@ func (x *SyncNotebookRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncNotebookRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SyncNotebookRequest) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{0}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *SyncNotebookRequest) GetNotebookId() int64 {
|
||||
@@ -101,7 +101,7 @@ type PageData struct {
|
||||
|
||||
func (x *PageData) Reset() {
|
||||
*x = PageData{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[1]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -113,7 +113,7 @@ func (x *PageData) String() string {
|
||||
func (*PageData) ProtoMessage() {}
|
||||
|
||||
func (x *PageData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[1]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -126,7 +126,7 @@ func (x *PageData) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PageData.ProtoReflect.Descriptor instead.
|
||||
func (*PageData) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{1}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *PageData) GetPageId() int64 {
|
||||
@@ -163,7 +163,7 @@ type StrokeData struct {
|
||||
|
||||
func (x *StrokeData) Reset() {
|
||||
*x = StrokeData{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[2]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -175,7 +175,7 @@ func (x *StrokeData) String() string {
|
||||
func (*StrokeData) ProtoMessage() {}
|
||||
|
||||
func (x *StrokeData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[2]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -188,7 +188,7 @@ func (x *StrokeData) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use StrokeData.ProtoReflect.Descriptor instead.
|
||||
func (*StrokeData) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{2}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *StrokeData) GetPenSize() float32 {
|
||||
@@ -236,7 +236,7 @@ type SyncNotebookResponse struct {
|
||||
|
||||
func (x *SyncNotebookResponse) Reset() {
|
||||
*x = SyncNotebookResponse{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[3]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -248,7 +248,7 @@ func (x *SyncNotebookResponse) String() string {
|
||||
func (*SyncNotebookResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SyncNotebookResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[3]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -261,7 +261,7 @@ func (x *SyncNotebookResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncNotebookResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SyncNotebookResponse) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{3}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SyncNotebookResponse) GetServerNotebookId() int64 {
|
||||
@@ -287,7 +287,7 @@ type DeleteNotebookRequest struct {
|
||||
|
||||
func (x *DeleteNotebookRequest) Reset() {
|
||||
*x = DeleteNotebookRequest{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[4]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -299,7 +299,7 @@ func (x *DeleteNotebookRequest) String() string {
|
||||
func (*DeleteNotebookRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteNotebookRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[4]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -312,7 +312,7 @@ func (x *DeleteNotebookRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteNotebookRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteNotebookRequest) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{4}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *DeleteNotebookRequest) GetNotebookId() int64 {
|
||||
@@ -330,7 +330,7 @@ type DeleteNotebookResponse struct {
|
||||
|
||||
func (x *DeleteNotebookResponse) Reset() {
|
||||
*x = DeleteNotebookResponse{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[5]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -342,7 +342,7 @@ func (x *DeleteNotebookResponse) String() string {
|
||||
func (*DeleteNotebookResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteNotebookResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[5]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -355,7 +355,7 @@ func (x *DeleteNotebookResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteNotebookResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteNotebookResponse) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{5}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
type ListNotebooksRequest struct {
|
||||
@@ -366,7 +366,7 @@ type ListNotebooksRequest struct {
|
||||
|
||||
func (x *ListNotebooksRequest) Reset() {
|
||||
*x = ListNotebooksRequest{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[6]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -378,7 +378,7 @@ func (x *ListNotebooksRequest) String() string {
|
||||
func (*ListNotebooksRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListNotebooksRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[6]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -391,7 +391,7 @@ func (x *ListNotebooksRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListNotebooksRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListNotebooksRequest) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{6}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
type ListNotebooksResponse struct {
|
||||
@@ -403,7 +403,7 @@ type ListNotebooksResponse struct {
|
||||
|
||||
func (x *ListNotebooksResponse) Reset() {
|
||||
*x = ListNotebooksResponse{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[7]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -415,7 +415,7 @@ func (x *ListNotebooksResponse) String() string {
|
||||
func (*ListNotebooksResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListNotebooksResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[7]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -428,7 +428,7 @@ func (x *ListNotebooksResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListNotebooksResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListNotebooksResponse) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{7}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ListNotebooksResponse) GetNotebooks() []*NotebookSummary {
|
||||
@@ -452,7 +452,7 @@ type NotebookSummary struct {
|
||||
|
||||
func (x *NotebookSummary) Reset() {
|
||||
*x = NotebookSummary{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[8]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -464,7 +464,7 @@ func (x *NotebookSummary) String() string {
|
||||
func (*NotebookSummary) ProtoMessage() {}
|
||||
|
||||
func (x *NotebookSummary) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[8]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -477,7 +477,7 @@ func (x *NotebookSummary) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use NotebookSummary.ProtoReflect.Descriptor instead.
|
||||
func (*NotebookSummary) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{8}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *NotebookSummary) GetServerId() int64 {
|
||||
@@ -532,7 +532,7 @@ type CreateShareLinkRequest struct {
|
||||
|
||||
func (x *CreateShareLinkRequest) Reset() {
|
||||
*x = CreateShareLinkRequest{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[9]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -544,7 +544,7 @@ func (x *CreateShareLinkRequest) String() string {
|
||||
func (*CreateShareLinkRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateShareLinkRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[9]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -557,7 +557,7 @@ func (x *CreateShareLinkRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateShareLinkRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateShareLinkRequest) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{9}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *CreateShareLinkRequest) GetNotebookId() int64 {
|
||||
@@ -585,7 +585,7 @@ type CreateShareLinkResponse struct {
|
||||
|
||||
func (x *CreateShareLinkResponse) Reset() {
|
||||
*x = CreateShareLinkResponse{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[10]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -597,7 +597,7 @@ func (x *CreateShareLinkResponse) String() string {
|
||||
func (*CreateShareLinkResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreateShareLinkResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[10]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -610,7 +610,7 @@ func (x *CreateShareLinkResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateShareLinkResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CreateShareLinkResponse) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{10}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *CreateShareLinkResponse) GetToken() string {
|
||||
@@ -643,7 +643,7 @@ type RevokeShareLinkRequest struct {
|
||||
|
||||
func (x *RevokeShareLinkRequest) Reset() {
|
||||
*x = RevokeShareLinkRequest{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[11]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -655,7 +655,7 @@ func (x *RevokeShareLinkRequest) String() string {
|
||||
func (*RevokeShareLinkRequest) ProtoMessage() {}
|
||||
|
||||
func (x *RevokeShareLinkRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[11]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -668,7 +668,7 @@ func (x *RevokeShareLinkRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RevokeShareLinkRequest.ProtoReflect.Descriptor instead.
|
||||
func (*RevokeShareLinkRequest) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{11}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *RevokeShareLinkRequest) GetToken() string {
|
||||
@@ -686,7 +686,7 @@ type RevokeShareLinkResponse struct {
|
||||
|
||||
func (x *RevokeShareLinkResponse) Reset() {
|
||||
*x = RevokeShareLinkResponse{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[12]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -698,7 +698,7 @@ func (x *RevokeShareLinkResponse) String() string {
|
||||
func (*RevokeShareLinkResponse) ProtoMessage() {}
|
||||
|
||||
func (x *RevokeShareLinkResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[12]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -711,7 +711,7 @@ func (x *RevokeShareLinkResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RevokeShareLinkResponse.ProtoReflect.Descriptor instead.
|
||||
func (*RevokeShareLinkResponse) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{12}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
type ListShareLinksRequest struct {
|
||||
@@ -723,7 +723,7 @@ type ListShareLinksRequest struct {
|
||||
|
||||
func (x *ListShareLinksRequest) Reset() {
|
||||
*x = ListShareLinksRequest{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[13]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -735,7 +735,7 @@ func (x *ListShareLinksRequest) String() string {
|
||||
func (*ListShareLinksRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListShareLinksRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[13]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -748,7 +748,7 @@ func (x *ListShareLinksRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListShareLinksRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListShareLinksRequest) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{13}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *ListShareLinksRequest) GetNotebookId() int64 {
|
||||
@@ -767,7 +767,7 @@ type ListShareLinksResponse struct {
|
||||
|
||||
func (x *ListShareLinksResponse) Reset() {
|
||||
*x = ListShareLinksResponse{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[14]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -779,7 +779,7 @@ func (x *ListShareLinksResponse) String() string {
|
||||
func (*ListShareLinksResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListShareLinksResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[14]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -792,7 +792,7 @@ func (x *ListShareLinksResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListShareLinksResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListShareLinksResponse) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{14}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *ListShareLinksResponse) GetLinks() []*ShareLinkInfo {
|
||||
@@ -814,7 +814,7 @@ type ShareLinkInfo struct {
|
||||
|
||||
func (x *ShareLinkInfo) Reset() {
|
||||
*x = ShareLinkInfo{}
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[15]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -826,7 +826,7 @@ func (x *ShareLinkInfo) String() string {
|
||||
func (*ShareLinkInfo) ProtoMessage() {}
|
||||
|
||||
func (x *ShareLinkInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_engpad_v1_sync_proto_msgTypes[15]
|
||||
mi := &file_proto_engpad_v1_sync_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -839,7 +839,7 @@ func (x *ShareLinkInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ShareLinkInfo.ProtoReflect.Descriptor instead.
|
||||
func (*ShareLinkInfo) Descriptor() ([]byte, []int) {
|
||||
return file_engpad_v1_sync_proto_rawDescGZIP(), []int{15}
|
||||
return file_proto_engpad_v1_sync_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *ShareLinkInfo) GetToken() string {
|
||||
@@ -870,11 +870,11 @@ func (x *ShareLinkInfo) GetExpiresAt() *timestamppb.Timestamp {
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_engpad_v1_sync_proto protoreflect.FileDescriptor
|
||||
var File_proto_engpad_v1_sync_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_engpad_v1_sync_proto_rawDesc = "" +
|
||||
const file_proto_engpad_v1_sync_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x14engpad/v1/sync.proto\x12\tengpad.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x01\n" +
|
||||
"\x1aproto/engpad/v1/sync.proto\x12\tengpad.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x01\n" +
|
||||
"\x13SyncNotebookRequest\x12\x1f\n" +
|
||||
"\vnotebook_id\x18\x01 \x01(\x03R\n" +
|
||||
"notebookId\x12\x14\n" +
|
||||
@@ -935,30 +935,30 @@ const file_engpad_v1_sync_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
||||
"\n" +
|
||||
"expires_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt2\x93\x04\n" +
|
||||
"\n" +
|
||||
"EngPadSync\x12O\n" +
|
||||
"expires_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt2\x9a\x04\n" +
|
||||
"\x11EngPadSyncService\x12O\n" +
|
||||
"\fSyncNotebook\x12\x1e.engpad.v1.SyncNotebookRequest\x1a\x1f.engpad.v1.SyncNotebookResponse\x12U\n" +
|
||||
"\x0eDeleteNotebook\x12 .engpad.v1.DeleteNotebookRequest\x1a!.engpad.v1.DeleteNotebookResponse\x12R\n" +
|
||||
"\rListNotebooks\x12\x1f.engpad.v1.ListNotebooksRequest\x1a .engpad.v1.ListNotebooksResponse\x12X\n" +
|
||||
"\x0fCreateShareLink\x12!.engpad.v1.CreateShareLinkRequest\x1a\".engpad.v1.CreateShareLinkResponse\x12X\n" +
|
||||
"\x0fRevokeShareLink\x12!.engpad.v1.RevokeShareLinkRequest\x1a\".engpad.v1.RevokeShareLinkResponse\x12U\n" +
|
||||
"\x0eListShareLinks\x12 .engpad.v1.ListShareLinksRequest\x1a!.engpad.v1.ListShareLinksResponseB=Z;git.wntrmute.dev/kyle/eng-pad-server/gen/engpad/v1;engpadv1b\x06proto3"
|
||||
"\x0eListShareLinks\x12 .engpad.v1.ListShareLinksRequest\x1a!.engpad.v1.ListShareLinksResponseBa\n" +
|
||||
" net.metacircular.engpad.proto.v1P\x01Z;git.wntrmute.dev/kyle/eng-pad-server/gen/engpad/v1;engpadv1b\x06proto3"
|
||||
|
||||
var (
|
||||
file_engpad_v1_sync_proto_rawDescOnce sync.Once
|
||||
file_engpad_v1_sync_proto_rawDescData []byte
|
||||
file_proto_engpad_v1_sync_proto_rawDescOnce sync.Once
|
||||
file_proto_engpad_v1_sync_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_engpad_v1_sync_proto_rawDescGZIP() []byte {
|
||||
file_engpad_v1_sync_proto_rawDescOnce.Do(func() {
|
||||
file_engpad_v1_sync_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_engpad_v1_sync_proto_rawDesc), len(file_engpad_v1_sync_proto_rawDesc)))
|
||||
func file_proto_engpad_v1_sync_proto_rawDescGZIP() []byte {
|
||||
file_proto_engpad_v1_sync_proto_rawDescOnce.Do(func() {
|
||||
file_proto_engpad_v1_sync_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_engpad_v1_sync_proto_rawDesc), len(file_proto_engpad_v1_sync_proto_rawDesc)))
|
||||
})
|
||||
return file_engpad_v1_sync_proto_rawDescData
|
||||
return file_proto_engpad_v1_sync_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_engpad_v1_sync_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_engpad_v1_sync_proto_goTypes = []any{
|
||||
var file_proto_engpad_v1_sync_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_proto_engpad_v1_sync_proto_goTypes = []any{
|
||||
(*SyncNotebookRequest)(nil), // 0: engpad.v1.SyncNotebookRequest
|
||||
(*PageData)(nil), // 1: engpad.v1.PageData
|
||||
(*StrokeData)(nil), // 2: engpad.v1.StrokeData
|
||||
@@ -977,7 +977,7 @@ var file_engpad_v1_sync_proto_goTypes = []any{
|
||||
(*ShareLinkInfo)(nil), // 15: engpad.v1.ShareLinkInfo
|
||||
(*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp
|
||||
}
|
||||
var file_engpad_v1_sync_proto_depIdxs = []int32{
|
||||
var file_proto_engpad_v1_sync_proto_depIdxs = []int32{
|
||||
1, // 0: engpad.v1.SyncNotebookRequest.pages:type_name -> engpad.v1.PageData
|
||||
2, // 1: engpad.v1.PageData.strokes:type_name -> engpad.v1.StrokeData
|
||||
16, // 2: engpad.v1.SyncNotebookResponse.synced_at:type_name -> google.protobuf.Timestamp
|
||||
@@ -987,18 +987,18 @@ var file_engpad_v1_sync_proto_depIdxs = []int32{
|
||||
15, // 6: engpad.v1.ListShareLinksResponse.links:type_name -> engpad.v1.ShareLinkInfo
|
||||
16, // 7: engpad.v1.ShareLinkInfo.created_at:type_name -> google.protobuf.Timestamp
|
||||
16, // 8: engpad.v1.ShareLinkInfo.expires_at:type_name -> google.protobuf.Timestamp
|
||||
0, // 9: engpad.v1.EngPadSync.SyncNotebook:input_type -> engpad.v1.SyncNotebookRequest
|
||||
4, // 10: engpad.v1.EngPadSync.DeleteNotebook:input_type -> engpad.v1.DeleteNotebookRequest
|
||||
6, // 11: engpad.v1.EngPadSync.ListNotebooks:input_type -> engpad.v1.ListNotebooksRequest
|
||||
9, // 12: engpad.v1.EngPadSync.CreateShareLink:input_type -> engpad.v1.CreateShareLinkRequest
|
||||
11, // 13: engpad.v1.EngPadSync.RevokeShareLink:input_type -> engpad.v1.RevokeShareLinkRequest
|
||||
13, // 14: engpad.v1.EngPadSync.ListShareLinks:input_type -> engpad.v1.ListShareLinksRequest
|
||||
3, // 15: engpad.v1.EngPadSync.SyncNotebook:output_type -> engpad.v1.SyncNotebookResponse
|
||||
5, // 16: engpad.v1.EngPadSync.DeleteNotebook:output_type -> engpad.v1.DeleteNotebookResponse
|
||||
7, // 17: engpad.v1.EngPadSync.ListNotebooks:output_type -> engpad.v1.ListNotebooksResponse
|
||||
10, // 18: engpad.v1.EngPadSync.CreateShareLink:output_type -> engpad.v1.CreateShareLinkResponse
|
||||
12, // 19: engpad.v1.EngPadSync.RevokeShareLink:output_type -> engpad.v1.RevokeShareLinkResponse
|
||||
14, // 20: engpad.v1.EngPadSync.ListShareLinks:output_type -> engpad.v1.ListShareLinksResponse
|
||||
0, // 9: engpad.v1.EngPadSyncService.SyncNotebook:input_type -> engpad.v1.SyncNotebookRequest
|
||||
4, // 10: engpad.v1.EngPadSyncService.DeleteNotebook:input_type -> engpad.v1.DeleteNotebookRequest
|
||||
6, // 11: engpad.v1.EngPadSyncService.ListNotebooks:input_type -> engpad.v1.ListNotebooksRequest
|
||||
9, // 12: engpad.v1.EngPadSyncService.CreateShareLink:input_type -> engpad.v1.CreateShareLinkRequest
|
||||
11, // 13: engpad.v1.EngPadSyncService.RevokeShareLink:input_type -> engpad.v1.RevokeShareLinkRequest
|
||||
13, // 14: engpad.v1.EngPadSyncService.ListShareLinks:input_type -> engpad.v1.ListShareLinksRequest
|
||||
3, // 15: engpad.v1.EngPadSyncService.SyncNotebook:output_type -> engpad.v1.SyncNotebookResponse
|
||||
5, // 16: engpad.v1.EngPadSyncService.DeleteNotebook:output_type -> engpad.v1.DeleteNotebookResponse
|
||||
7, // 17: engpad.v1.EngPadSyncService.ListNotebooks:output_type -> engpad.v1.ListNotebooksResponse
|
||||
10, // 18: engpad.v1.EngPadSyncService.CreateShareLink:output_type -> engpad.v1.CreateShareLinkResponse
|
||||
12, // 19: engpad.v1.EngPadSyncService.RevokeShareLink:output_type -> engpad.v1.RevokeShareLinkResponse
|
||||
14, // 20: engpad.v1.EngPadSyncService.ListShareLinks:output_type -> engpad.v1.ListShareLinksResponse
|
||||
15, // [15:21] is the sub-list for method output_type
|
||||
9, // [9:15] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
@@ -1006,26 +1006,26 @@ var file_engpad_v1_sync_proto_depIdxs = []int32{
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_engpad_v1_sync_proto_init() }
|
||||
func file_engpad_v1_sync_proto_init() {
|
||||
if File_engpad_v1_sync_proto != nil {
|
||||
func init() { file_proto_engpad_v1_sync_proto_init() }
|
||||
func file_proto_engpad_v1_sync_proto_init() {
|
||||
if File_proto_engpad_v1_sync_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_engpad_v1_sync_proto_rawDesc), len(file_engpad_v1_sync_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_engpad_v1_sync_proto_rawDesc), len(file_proto_engpad_v1_sync_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 16,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_engpad_v1_sync_proto_goTypes,
|
||||
DependencyIndexes: file_engpad_v1_sync_proto_depIdxs,
|
||||
MessageInfos: file_engpad_v1_sync_proto_msgTypes,
|
||||
GoTypes: file_proto_engpad_v1_sync_proto_goTypes,
|
||||
DependencyIndexes: file_proto_engpad_v1_sync_proto_depIdxs,
|
||||
MessageInfos: file_proto_engpad_v1_sync_proto_msgTypes,
|
||||
}.Build()
|
||||
File_engpad_v1_sync_proto = out.File
|
||||
file_engpad_v1_sync_proto_goTypes = nil
|
||||
file_engpad_v1_sync_proto_depIdxs = nil
|
||||
File_proto_engpad_v1_sync_proto = out.File
|
||||
file_proto_engpad_v1_sync_proto_goTypes = nil
|
||||
file_proto_engpad_v1_sync_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user