134 lines
5.7 KiB
Dart
134 lines
5.7 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from note.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, unused_import
|
|
|
|
import 'dart:convert' as $convert;
|
|
import 'dart:core' as $core;
|
|
import 'dart:typed_data' as $typed_data;
|
|
|
|
@$core.Deprecated('Use createNoteRequestDescriptor instead')
|
|
const CreateNoteRequest$json = {
|
|
'1': 'CreateNoteRequest',
|
|
'2': [
|
|
{'1': 'cloud_id', '3': 1, '4': 1, '5': 4, '10': 'cloudId'},
|
|
{'1': 'cloud_identity', '3': 2, '4': 1, '5': 9, '10': 'cloudIdentity'},
|
|
{'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'},
|
|
{'1': 'content', '3': 4, '4': 1, '5': 9, '10': 'content'},
|
|
{'1': 'category', '3': 5, '4': 1, '5': 9, '10': 'category'},
|
|
{'1': 'tags', '3': 6, '4': 1, '5': 9, '10': 'tags'},
|
|
{'1': 'is_markdown', '3': 7, '4': 1, '5': 8, '10': 'isMarkdown'},
|
|
{'1': 'is_pinned', '3': 8, '4': 1, '5': 8, '10': 'isPinned'},
|
|
{'1': 'is_private', '3': 9, '4': 1, '5': 8, '10': 'isPrivate'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `CreateNoteRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List createNoteRequestDescriptor = $convert.base64Decode(
|
|
'ChFDcmVhdGVOb3RlUmVxdWVzdBIZCghjbG91ZF9pZBgBIAEoBFIHY2xvdWRJZBIlCg5jbG91ZF'
|
|
'9pZGVudGl0eRgCIAEoCVINY2xvdWRJZGVudGl0eRIUCgV0aXRsZRgDIAEoCVIFdGl0bGUSGAoH'
|
|
'Y29udGVudBgEIAEoCVIHY29udGVudBIaCghjYXRlZ29yeRgFIAEoCVIIY2F0ZWdvcnkSEgoEdG'
|
|
'FncxgGIAEoCVIEdGFncxIfCgtpc19tYXJrZG93bhgHIAEoCFIKaXNNYXJrZG93bhIbCglpc19w'
|
|
'aW5uZWQYCCABKAhSCGlzUGlubmVkEh0KCmlzX3ByaXZhdGUYCSABKAhSCWlzUHJpdmF0ZQ==');
|
|
|
|
@$core.Deprecated('Use listNotesResponseDescriptor instead')
|
|
const ListNotesResponse$json = {
|
|
'1': 'ListNotesResponse',
|
|
'2': [
|
|
{
|
|
'1': 'notes',
|
|
'3': 1,
|
|
'4': 3,
|
|
'5': 11,
|
|
'6': '.cloud.CloudNoteItem',
|
|
'10': 'notes'
|
|
},
|
|
{'1': 'total', '3': 2, '4': 1, '5': 3, '10': 'total'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `ListNotesResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List listNotesResponseDescriptor = $convert.base64Decode(
|
|
'ChFMaXN0Tm90ZXNSZXNwb25zZRIqCgVub3RlcxgBIAMoCzIULmNsb3VkLkNsb3VkTm90ZUl0ZW'
|
|
'1SBW5vdGVzEhQKBXRvdGFsGAIgASgDUgV0b3RhbA==');
|
|
|
|
@$core.Deprecated('Use togglePinRequestDescriptor instead')
|
|
const TogglePinRequest$json = {
|
|
'1': 'TogglePinRequest',
|
|
'2': [
|
|
{'1': 'id', '3': 1, '4': 1, '5': 4, '10': 'id'},
|
|
{'1': 'is_pinned', '3': 2, '4': 1, '5': 8, '10': 'isPinned'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `TogglePinRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List togglePinRequestDescriptor = $convert.base64Decode(
|
|
'ChBUb2dnbGVQaW5SZXF1ZXN0Eg4KAmlkGAEgASgEUgJpZBIbCglpc19waW5uZWQYAiABKAhSCG'
|
|
'lzUGlubmVk');
|
|
|
|
@$core.Deprecated('Use cloudNoteItemDescriptor instead')
|
|
const CloudNoteItem$json = {
|
|
'1': 'CloudNoteItem',
|
|
'2': [
|
|
{'1': 'id', '3': 1, '4': 1, '5': 4, '10': 'id'},
|
|
{'1': 'identity', '3': 2, '4': 1, '5': 9, '10': 'identity'},
|
|
{'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'},
|
|
{'1': 'content', '3': 4, '4': 1, '5': 9, '10': 'content'},
|
|
{'1': 'category', '3': 5, '4': 1, '5': 9, '10': 'category'},
|
|
{'1': 'tags', '3': 6, '4': 1, '5': 9, '10': 'tags'},
|
|
{'1': 'is_markdown', '3': 7, '4': 1, '5': 8, '10': 'isMarkdown'},
|
|
{'1': 'is_pinned', '3': 8, '4': 1, '5': 8, '10': 'isPinned'},
|
|
{'1': 'is_private', '3': 9, '4': 1, '5': 8, '10': 'isPrivate'},
|
|
{'1': 'views', '3': 10, '4': 1, '5': 5, '10': 'views'},
|
|
{'1': 'created_at', '3': 11, '4': 1, '5': 9, '10': 'createdAt'},
|
|
{'1': 'updated_at', '3': 12, '4': 1, '5': 9, '10': 'updatedAt'},
|
|
{
|
|
'1': 'attachments',
|
|
'3': 13,
|
|
'4': 3,
|
|
'5': 11,
|
|
'6': '.cloud.NoteAttachmentItem',
|
|
'10': 'attachments'
|
|
},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `CloudNoteItem`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List cloudNoteItemDescriptor = $convert.base64Decode(
|
|
'Cg1DbG91ZE5vdGVJdGVtEg4KAmlkGAEgASgEUgJpZBIaCghpZGVudGl0eRgCIAEoCVIIaWRlbn'
|
|
'RpdHkSFAoFdGl0bGUYAyABKAlSBXRpdGxlEhgKB2NvbnRlbnQYBCABKAlSB2NvbnRlbnQSGgoI'
|
|
'Y2F0ZWdvcnkYBSABKAlSCGNhdGVnb3J5EhIKBHRhZ3MYBiABKAlSBHRhZ3MSHwoLaXNfbWFya2'
|
|
'Rvd24YByABKAhSCmlzTWFya2Rvd24SGwoJaXNfcGlubmVkGAggASgIUghpc1Bpbm5lZBIdCgpp'
|
|
'c19wcml2YXRlGAkgASgIUglpc1ByaXZhdGUSFAoFdmlld3MYCiABKAVSBXZpZXdzEh0KCmNyZW'
|
|
'F0ZWRfYXQYCyABKAlSCWNyZWF0ZWRBdBIdCgp1cGRhdGVkX2F0GAwgASgJUgl1cGRhdGVkQXQS'
|
|
'OwoLYXR0YWNobWVudHMYDSADKAsyGS5jbG91ZC5Ob3RlQXR0YWNobWVudEl0ZW1SC2F0dGFjaG'
|
|
'1lbnRz');
|
|
|
|
@$core.Deprecated('Use noteAttachmentItemDescriptor instead')
|
|
const NoteAttachmentItem$json = {
|
|
'1': 'NoteAttachmentItem',
|
|
'2': [
|
|
{'1': 'id', '3': 1, '4': 1, '5': 4, '10': 'id'},
|
|
{'1': 'note_id', '3': 2, '4': 1, '5': 4, '10': 'noteId'},
|
|
{'1': 'file_name', '3': 3, '4': 1, '5': 9, '10': 'fileName'},
|
|
{'1': 'file_path', '3': 4, '4': 1, '5': 9, '10': 'filePath'},
|
|
{'1': 'file_size', '3': 5, '4': 1, '5': 3, '10': 'fileSize'},
|
|
{'1': 'mime_type', '3': 6, '4': 1, '5': 9, '10': 'mimeType'},
|
|
{'1': 'created_at', '3': 7, '4': 1, '5': 9, '10': 'createdAt'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `NoteAttachmentItem`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List noteAttachmentItemDescriptor = $convert.base64Decode(
|
|
'ChJOb3RlQXR0YWNobWVudEl0ZW0SDgoCaWQYASABKARSAmlkEhcKB25vdGVfaWQYAiABKARSBm'
|
|
'5vdGVJZBIbCglmaWxlX25hbWUYAyABKAlSCGZpbGVOYW1lEhsKCWZpbGVfcGF0aBgEIAEoCVII'
|
|
'ZmlsZVBhdGgSGwoJZmlsZV9zaXplGAUgASgDUghmaWxlU2l6ZRIbCgltaW1lX3R5cGUYBiABKA'
|
|
'lSCG1pbWVUeXBlEh0KCmNyZWF0ZWRfYXQYByABKAlSCWNyZWF0ZWRBdA==');
|