/
scan.pb.go
1032 lines (923 loc) · 36 KB
/
scan.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2017 Delving B.V.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.19.4
// source: hub3/ead/eadpb/scan.proto
package eadpb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
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 ViewType int32
const (
// Default type.
ViewType_DOWNLOADONLY ViewType = 0
// DZI tiles.
ViewType_DZI ViewType = 1
// JPEG files for thumbnails.
ViewType_JPEG ViewType = 2
ViewType_PDF ViewType = 3
ViewType_AUDIO ViewType = 4
ViewType_VIDEO ViewType = 5
)
// Enum value maps for ViewType.
var (
ViewType_name = map[int32]string{
0: "DOWNLOADONLY",
1: "DZI",
2: "JPEG",
3: "PDF",
4: "AUDIO",
5: "VIDEO",
}
ViewType_value = map[string]int32{
"DOWNLOADONLY": 0,
"DZI": 1,
"JPEG": 2,
"PDF": 3,
"AUDIO": 4,
"VIDEO": 5,
}
)
func (x ViewType) Enum() *ViewType {
p := new(ViewType)
*p = x
return p
}
func (x ViewType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ViewType) Descriptor() protoreflect.EnumDescriptor {
return file_hub3_ead_eadpb_scan_proto_enumTypes[0].Descriptor()
}
func (ViewType) Type() protoreflect.EnumType {
return &file_hub3_ead_eadpb_scan_proto_enumTypes[0]
}
func (x ViewType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ViewType.Descriptor instead.
func (ViewType) EnumDescriptor() ([]byte, []int) {
return file_hub3_ead_eadpb_scan_proto_rawDescGZIP(), []int{0}
}
type File struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
View ViewType `protobuf:"varint,1,opt,name=view,proto3,enum=eadpb.ViewType" json:"view,omitempty"`
// For scans this is the NL-HaNA_1.01.02_11_P1 type filename.
Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
// The file-uuid from GAF
Fileuuid string `protobuf:"bytes,4,opt,name=fileuuid,proto3" json:"fileuuid,omitempty"`
// The duuid is not needed for the frontend as of now I think, but could be useful.
FileSize int32 `protobuf:"varint,6,opt,name=fileSize,proto3" json:"fileSize,omitempty"`
// Absolute web accessible url to the file source so internet web clients can access them.
// These urls are examples and not the real url patterns.
// For DZI example: [https://test.nationaalarchief.nl/gaf/iip/1.04.02_1.dzi]
// Or JPEG thumb example: [https://test.nationaalarchief.nl/gaf/iip/thumb-100x100.jpg]
// Or PDF file example: [https://test.nationaalarchief.nl/gaf/file/1.04.02.pdf]
ThumbnailURI string `protobuf:"bytes,2,opt,name=thumbnailURI,proto3" json:"thumbnailURI,omitempty"`
// Optional uri for downloading the DZI XML description.
DeepzoomURI string `protobuf:"bytes,7,opt,name=deepzoomURI,proto3" json:"deepzoomURI,omitempty"`
// Optional uri for downloading the original.
DownloadURI string `protobuf:"bytes,8,opt,name=downloadURI,proto3" json:"downloadURI,omitempty"`
// Mime-Type of the file
MimeType string `protobuf:"bytes,9,opt,name=mimeType,proto3" json:"mimeType,omitempty"`
// The relative sort order of the File within the inventoryID
SortKey int32 `protobuf:"varint,10,opt,name=sortKey,proto3" json:"sortKey,omitempty"`
// Extra file metadata like collection, creator, date.
MetaData map[string]*Values `protobuf:"bytes,11,rep,name=metaData,proto3" json:"metaData,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *File) Reset() {
*x = File{}
if protoimpl.UnsafeEnabled {
mi := &file_hub3_ead_eadpb_scan_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *File) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*File) ProtoMessage() {}
func (x *File) ProtoReflect() protoreflect.Message {
mi := &file_hub3_ead_eadpb_scan_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 File.ProtoReflect.Descriptor instead.
func (*File) Descriptor() ([]byte, []int) {
return file_hub3_ead_eadpb_scan_proto_rawDescGZIP(), []int{0}
}
func (x *File) GetView() ViewType {
if x != nil {
return x.View
}
return ViewType_DOWNLOADONLY
}
func (x *File) GetFilename() string {
if x != nil {
return x.Filename
}
return ""
}
func (x *File) GetFileuuid() string {
if x != nil {
return x.Fileuuid
}
return ""
}
func (x *File) GetFileSize() int32 {
if x != nil {
return x.FileSize
}
return 0
}
func (x *File) GetThumbnailURI() string {
if x != nil {
return x.ThumbnailURI
}
return ""
}
func (x *File) GetDeepzoomURI() string {
if x != nil {
return x.DeepzoomURI
}
return ""
}
func (x *File) GetDownloadURI() string {
if x != nil {
return x.DownloadURI
}
return ""
}
func (x *File) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *File) GetSortKey() int32 {
if x != nil {
return x.SortKey
}
return 0
}
func (x *File) GetMetaData() map[string]*Values {
if x != nil {
return x.MetaData
}
return nil
}
type Values struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The display label
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
// List of metadata string values
Text []string `protobuf:"bytes,2,rep,name=text,proto3" json:"text,omitempty"`
}
func (x *Values) Reset() {
*x = Values{}
if protoimpl.UnsafeEnabled {
mi := &file_hub3_ead_eadpb_scan_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Values) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Values) ProtoMessage() {}
func (x *Values) ProtoReflect() protoreflect.Message {
mi := &file_hub3_ead_eadpb_scan_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 Values.ProtoReflect.Descriptor instead.
func (*Values) Descriptor() ([]byte, []int) {
return file_hub3_ead_eadpb_scan_proto_rawDescGZIP(), []int{1}
}
func (x *Values) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *Values) GetText() []string {
if x != nil {
return x.Text
}
return nil
}
type Pager struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HasNext bool `protobuf:"varint,1,opt,name=hasNext,proto3" json:"hasNext,omitempty"`
HasPrevious bool `protobuf:"varint,2,opt,name=hasPrevious,proto3" json:"hasPrevious,omitempty"`
TotalCount int32 `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
NrPages int32 `protobuf:"varint,4,opt,name=nrPages,proto3" json:"nrPages,omitempty"`
PageCurrent int32 `protobuf:"varint,5,opt,name=pageCurrent,proto3" json:"pageCurrent,omitempty"`
PageNext int32 `protobuf:"varint,6,opt,name=pageNext,proto3" json:"pageNext,omitempty"`
PagePrevious int32 `protobuf:"varint,7,opt,name=pagePrevious,proto3" json:"pagePrevious,omitempty"`
PageSize int32 `protobuf:"varint,8,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
// Optional property where the result is centered around.
ActiveFilename string `protobuf:"bytes,9,opt,name=activeFilename,proto3" json:"activeFilename,omitempty"`
// The index of the place of the active File in the Files array.
ActiveSortKey int32 `protobuf:"varint,10,opt,name=activeSortKey,proto3" json:"activeSortKey,omitempty"`
// Optional. When the request was a paging request, i.e. without the FindingAid block.
Paging bool `protobuf:"varint,11,opt,name=paging,proto3" json:"paging,omitempty"`
}
func (x *Pager) Reset() {
*x = Pager{}
if protoimpl.UnsafeEnabled {
mi := &file_hub3_ead_eadpb_scan_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Pager) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Pager) ProtoMessage() {}
func (x *Pager) ProtoReflect() protoreflect.Message {
mi := &file_hub3_ead_eadpb_scan_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 Pager.ProtoReflect.Descriptor instead.
func (*Pager) Descriptor() ([]byte, []int) {
return file_hub3_ead_eadpb_scan_proto_rawDescGZIP(), []int{2}
}
func (x *Pager) GetHasNext() bool {
if x != nil {
return x.HasNext
}
return false
}
func (x *Pager) GetHasPrevious() bool {
if x != nil {
return x.HasPrevious
}
return false
}
func (x *Pager) GetTotalCount() int32 {
if x != nil {
return x.TotalCount
}
return 0
}
func (x *Pager) GetNrPages() int32 {
if x != nil {
return x.NrPages
}
return 0
}
func (x *Pager) GetPageCurrent() int32 {
if x != nil {
return x.PageCurrent
}
return 0
}
func (x *Pager) GetPageNext() int32 {
if x != nil {
return x.PageNext
}
return 0
}
func (x *Pager) GetPagePrevious() int32 {
if x != nil {
return x.PagePrevious
}
return 0
}
func (x *Pager) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *Pager) GetActiveFilename() string {
if x != nil {
return x.ActiveFilename
}
return ""
}
func (x *Pager) GetActiveSortKey() int32 {
if x != nil {
return x.ActiveSortKey
}
return 0
}
func (x *Pager) GetPaging() bool {
if x != nil {
return x.Paging
}
return false
}
type FindingAid struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The dataset identifier and EAD identifier.
ArchiveID string `protobuf:"bytes,1,opt,name=archiveID,proto3" json:"archiveID,omitempty"`
// The long title for the Archive.
ArchiveTitle string `protobuf:"bytes,2,opt,name=archiveTitle,proto3" json:"archiveTitle,omitempty"`
// The unit idendifier for a given c-level.
InventoryID string `protobuf:"bytes,3,opt,name=inventoryID,proto3" json:"inventoryID,omitempty"`
// The tree-path under which the inventory is stored.
InventoryPath string `protobuf:"bytes,4,opt,name=inventoryPath,proto3" json:"inventoryPath,omitempty"`
// The unit-title of the inventory.
InventoryTitle string `protobuf:"bytes,5,opt,name=inventoryTitle,proto3" json:"inventoryTitle,omitempty"`
// The deliverable uuid of the METS file where all the Files are extracted from.
Duuid string `protobuf:"bytes,6,opt,name=duuid,proto3" json:"duuid,omitempty"`
// Return true if the files in the WHOLE (not just the current page) set are DZI tiles.
HasOnlyTiles bool `protobuf:"varint,7,opt,name=hasOnlyTiles,proto3" json:"hasOnlyTiles,omitempty"`
// Sorted array of mime-types for current deliverable-uuid
MimeTypes map[string]int32 `protobuf:"bytes,8,rep,name=mimeTypes,proto3" json:"mimeTypes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
// number of linked digital objects
FileCount int32 `protobuf:"varint,9,opt,name=fileCount,proto3" json:"fileCount,omitempty"`
// the linked Files to the FindingAid
Files []*File `protobuf:"bytes,10,rep,name=files,proto3" json:"files,omitempty"`
// filter keys
FilterTypes []string `protobuf:"bytes,11,rep,name=filterTypes,proto3" json:"filterTypes,omitempty"`
// scan navigation
HasScanNavigation bool `protobuf:"varint,12,opt,name=hasScanNavigation,proto3" json:"hasScanNavigation,omitempty"`
}
func (x *FindingAid) Reset() {
*x = FindingAid{}
if protoimpl.UnsafeEnabled {
mi := &file_hub3_ead_eadpb_scan_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindingAid) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindingAid) ProtoMessage() {}
func (x *FindingAid) ProtoReflect() protoreflect.Message {
mi := &file_hub3_ead_eadpb_scan_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 FindingAid.ProtoReflect.Descriptor instead.
func (*FindingAid) Descriptor() ([]byte, []int) {
return file_hub3_ead_eadpb_scan_proto_rawDescGZIP(), []int{3}
}
func (x *FindingAid) GetArchiveID() string {
if x != nil {
return x.ArchiveID
}
return ""
}
func (x *FindingAid) GetArchiveTitle() string {
if x != nil {
return x.ArchiveTitle
}
return ""
}
func (x *FindingAid) GetInventoryID() string {
if x != nil {
return x.InventoryID
}
return ""
}
func (x *FindingAid) GetInventoryPath() string {
if x != nil {
return x.InventoryPath
}
return ""
}
func (x *FindingAid) GetInventoryTitle() string {
if x != nil {
return x.InventoryTitle
}
return ""
}
func (x *FindingAid) GetDuuid() string {
if x != nil {
return x.Duuid
}
return ""
}
func (x *FindingAid) GetHasOnlyTiles() bool {
if x != nil {
return x.HasOnlyTiles
}
return false
}
func (x *FindingAid) GetMimeTypes() map[string]int32 {
if x != nil {
return x.MimeTypes
}
return nil
}
func (x *FindingAid) GetFileCount() int32 {
if x != nil {
return x.FileCount
}
return 0
}
func (x *FindingAid) GetFiles() []*File {
if x != nil {
return x.Files
}
return nil
}
func (x *FindingAid) GetFilterTypes() []string {
if x != nil {
return x.FilterTypes
}
return nil
}
func (x *FindingAid) GetHasScanNavigation() bool {
if x != nil {
return x.HasScanNavigation
}
return false
}
type ViewResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The block with the page
Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
// Optional. The FindingAid is only shown on the first request and is empty for paging requests.
FindingAid *FindingAid `protobuf:"bytes,2,opt,name=findingAid,proto3" json:"findingAid,omitempty"`
// Sorted by filename.
Files []*File `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
}
func (x *ViewResponse) Reset() {
*x = ViewResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_hub3_ead_eadpb_scan_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ViewResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ViewResponse) ProtoMessage() {}
func (x *ViewResponse) ProtoReflect() protoreflect.Message {
mi := &file_hub3_ead_eadpb_scan_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 ViewResponse.ProtoReflect.Descriptor instead.
func (*ViewResponse) Descriptor() ([]byte, []int) {
return file_hub3_ead_eadpb_scan_proto_rawDescGZIP(), []int{4}
}
func (x *ViewResponse) GetPager() *Pager {
if x != nil {
return x.Pager
}
return nil
}
func (x *ViewResponse) GetFindingAid() *FindingAid {
if x != nil {
return x.FindingAid
}
return nil
}
func (x *ViewResponse) GetFiles() []*File {
if x != nil {
return x.Files
}
return nil
}
type ViewRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Required; example 2.13.39
ArchiveID string `protobuf:"bytes,1,opt,name=archiveID,proto3" json:"archiveID,omitempty"`
// Either InventoryID or InventoryPath is Required; e.g. 3.1.
InventoryID string `protobuf:"bytes,2,opt,name=inventoryID,proto3" json:"inventoryID,omitempty"`
// Either InventoryID or InventoryPath is Required; e.g. @3~3.1.
InvertoryPath string `protobuf:"bytes,3,opt,name=invertoryPath,proto3" json:"invertoryPath,omitempty"`
// Optional, defaults to 50 tiledImages per set.
PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
// Optional, defaults to 1.
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
// Optional to jump into a set with this file centered.
Fileuuid string `protobuf:"bytes,6,opt,name=fileuuid,proto3" json:"fileuuid,omitempty"`
// Optional to jump into a set with this file centered.
Filename string `protobuf:"bytes,7,opt,name=filename,proto3" json:"filename,omitempty"`
// Optional thumbnail configuration options.
ThumbnailConf string `protobuf:"bytes,8,opt,name=thumbnailConf,proto3" json:"thumbnailConf,omitempty"`
// Optional. When paging is true the FindingAid block is not included in the response.
Paging bool `protobuf:"varint,9,opt,name=paging,proto3" json:"paging,omitempty"`
// Optional. sortKey is an integer representing the order of the file in the files array.
// Note: starts at 1, i.e. not zero-based.
SortKey int64 `protobuf:"varint,10,opt,name=sortKey,proto3" json:"sortKey,omitempty"`
}
func (x *ViewRequest) Reset() {
*x = ViewRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hub3_ead_eadpb_scan_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ViewRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ViewRequest) ProtoMessage() {}
func (x *ViewRequest) ProtoReflect() protoreflect.Message {
mi := &file_hub3_ead_eadpb_scan_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 ViewRequest.ProtoReflect.Descriptor instead.
func (*ViewRequest) Descriptor() ([]byte, []int) {
return file_hub3_ead_eadpb_scan_proto_rawDescGZIP(), []int{5}
}
func (x *ViewRequest) GetArchiveID() string {
if x != nil {
return x.ArchiveID
}
return ""
}
func (x *ViewRequest) GetInventoryID() string {
if x != nil {
return x.InventoryID
}
return ""
}
func (x *ViewRequest) GetInvertoryPath() string {
if x != nil {
return x.InvertoryPath
}
return ""
}
func (x *ViewRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ViewRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ViewRequest) GetFileuuid() string {
if x != nil {
return x.Fileuuid
}
return ""
}
func (x *ViewRequest) GetFilename() string {
if x != nil {
return x.Filename
}
return ""
}
func (x *ViewRequest) GetThumbnailConf() string {
if x != nil {
return x.ThumbnailConf
}
return ""
}
func (x *ViewRequest) GetPaging() bool {
if x != nil {
return x.Paging
}
return false
}
func (x *ViewRequest) GetSortKey() int64 {
if x != nil {
return x.SortKey
}
return 0
}
var File_hub3_ead_eadpb_scan_proto protoreflect.FileDescriptor
var file_hub3_ead_eadpb_scan_proto_rawDesc = []byte{
0x0a, 0x19, 0x68, 0x75, 0x62, 0x33, 0x2f, 0x65, 0x61, 0x64, 0x2f, 0x65, 0x61, 0x64, 0x70, 0x62,
0x2f, 0x73, 0x63, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x65, 0x61, 0x64,
0x70, 0x62, 0x22, 0xa0, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x76,
0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x65, 0x61, 0x64, 0x70,
0x62, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77,
0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
0x66, 0x69, 0x6c, 0x65, 0x75, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x66, 0x69, 0x6c, 0x65, 0x75, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69,
0x6c, 0x55, 0x52, 0x49, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d,
0x62, 0x6e, 0x61, 0x69, 0x6c, 0x55, 0x52, 0x49, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x65, 0x70,
0x7a, 0x6f, 0x6f, 0x6d, 0x55, 0x52, 0x49, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
0x65, 0x65, 0x70, 0x7a, 0x6f, 0x6f, 0x6d, 0x55, 0x52, 0x49, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f,
0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x49, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x49, 0x12, 0x1a, 0x0a, 0x08,
0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74,
0x4b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x4b,
0x65, 0x79, 0x12, 0x35, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x18, 0x0b,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x61, 0x64, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c,
0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x08, 0x6d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x4a, 0x0a, 0x0d, 0x4d, 0x65, 0x74,
0x61, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x61,
0x64, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x32, 0x0a, 0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20,
0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0xe1, 0x02, 0x0a, 0x05, 0x50, 0x61,
0x67, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x4e, 0x65, 0x78, 0x74, 0x18, 0x01,
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x20, 0x0a,
0x0b, 0x68, 0x61, 0x73, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x12,
0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
0x18, 0x0a, 0x07, 0x6e, 0x72, 0x50, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
0x52, 0x07, 0x6e, 0x72, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x67,
0x65, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b,
0x70, 0x61, 0x67, 0x65, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70,
0x61, 0x67, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
0x61, 0x67, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x61, 0x67, 0x65, 0x50,
0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x70,
0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70,
0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76,
0x65, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x24, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79,
0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x6f,
0x72, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18,
0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0x87, 0x04,
0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72,
0x63, 0x68, 0x69, 0x76, 0x65, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20,
0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x44, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x44,
0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x74,
0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f,
0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74,
0x6f, 0x72, 0x79, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x64, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64,
0x75, 0x75, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x61, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x54,
0x69, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x4f,
0x6e, 0x6c, 0x79, 0x54, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65,
0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x61,
0x64, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x64, 0x2e, 0x4d,
0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d,
0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x69, 0x6c,
0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18,
0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x65, 0x61, 0x64, 0x70, 0x62, 0x2e, 0x46, 0x69,
0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6c,
0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b,
0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x68,
0x61, 0x73, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x68, 0x61, 0x73, 0x53, 0x63, 0x61, 0x6e, 0x4e,
0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3c, 0x0a, 0x0e, 0x4d, 0x69, 0x6d,
0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x88, 0x01, 0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65,
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x65, 0x61, 0x64, 0x70, 0x62, 0x2e,
0x50, 0x61, 0x67, 0x65, 0x72, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x0a,
0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x11, 0x2e, 0x65, 0x61, 0x64, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
0x41, 0x69, 0x64, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x69, 0x64, 0x12,
0x21, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
0x2e, 0x65, 0x61, 0x64, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c,
0x65, 0x73, 0x22, 0xb3, 0x02, 0x0a, 0x0b, 0x56, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x44, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x44,
0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x44, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x6f, 0x72, 0x79, 0x50,
0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x76, 0x65, 0x72,
0x74, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65,
0x75, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65,
0x75, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
0x12, 0x24, 0x0a, 0x0d, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x6e,
0x66, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61,
0x69, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x18,
0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52,
0x07, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x2a, 0x4e, 0x0a, 0x08, 0x56, 0x69, 0x65, 0x77,
0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44,
0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x5a, 0x49, 0x10, 0x01, 0x12,
0x08, 0x0a, 0x04, 0x4a, 0x50, 0x45, 0x47, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x44, 0x46,
0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x04, 0x12, 0x09, 0x0a,
0x05, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x05, 0x32, 0x40, 0x0a, 0x0d, 0x56, 0x69, 0x65, 0x77,
0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x4c, 0x69, 0x73,
0x74, 0x12, 0x12, 0x2e, 0x65, 0x61, 0x64, 0x70, 0x62, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x65, 0x61, 0x64, 0x70, 0x62, 0x2e, 0x56, 0x69,
0x65, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x10, 0x5a, 0x0e, 0x68, 0x75,
0x62, 0x33, 0x2f, 0x65, 0x61, 0x64, 0x2f, 0x65, 0x61, 0x64, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_hub3_ead_eadpb_scan_proto_rawDescOnce sync.Once
file_hub3_ead_eadpb_scan_proto_rawDescData = file_hub3_ead_eadpb_scan_proto_rawDesc
)
func file_hub3_ead_eadpb_scan_proto_rawDescGZIP() []byte {
file_hub3_ead_eadpb_scan_proto_rawDescOnce.Do(func() {
file_hub3_ead_eadpb_scan_proto_rawDescData = protoimpl.X.CompressGZIP(file_hub3_ead_eadpb_scan_proto_rawDescData)
})
return file_hub3_ead_eadpb_scan_proto_rawDescData
}
var file_hub3_ead_eadpb_scan_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_hub3_ead_eadpb_scan_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_hub3_ead_eadpb_scan_proto_goTypes = []interface{}{
(ViewType)(0), // 0: eadpb.ViewType
(*File)(nil), // 1: eadpb.File
(*Values)(nil), // 2: eadpb.Values
(*Pager)(nil), // 3: eadpb.Pager
(*FindingAid)(nil), // 4: eadpb.FindingAid
(*ViewResponse)(nil), // 5: eadpb.ViewResponse
(*ViewRequest)(nil), // 6: eadpb.ViewRequest
nil, // 7: eadpb.File.MetaDataEntry
nil, // 8: eadpb.FindingAid.MimeTypesEntry
}
var file_hub3_ead_eadpb_scan_proto_depIdxs = []int32{
0, // 0: eadpb.File.view:type_name -> eadpb.ViewType
7, // 1: eadpb.File.metaData:type_name -> eadpb.File.MetaDataEntry
8, // 2: eadpb.FindingAid.mimeTypes:type_name -> eadpb.FindingAid.MimeTypesEntry
1, // 3: eadpb.FindingAid.files:type_name -> eadpb.File
3, // 4: eadpb.ViewResponse.pager:type_name -> eadpb.Pager
4, // 5: eadpb.ViewResponse.findingAid:type_name -> eadpb.FindingAid
1, // 6: eadpb.ViewResponse.files:type_name -> eadpb.File
2, // 7: eadpb.File.MetaDataEntry.value:type_name -> eadpb.Values
6, // 8: eadpb.ViewerService.List:input_type -> eadpb.ViewRequest
5, // 9: eadpb.ViewerService.List:output_type -> eadpb.ViewResponse
9, // [9:10] is the sub-list for method output_type
8, // [8:9] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_hub3_ead_eadpb_scan_proto_init() }
func file_hub3_ead_eadpb_scan_proto_init() {
if File_hub3_ead_eadpb_scan_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_hub3_ead_eadpb_scan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*File); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hub3_ead_eadpb_scan_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Values); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hub3_ead_eadpb_scan_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Pager); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hub3_ead_eadpb_scan_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindingAid); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hub3_ead_eadpb_scan_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ViewResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hub3_ead_eadpb_scan_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {