mirror of
https://github.com/samuelncui/yatm.git
synced 2026-11-08 04:18:03 +00:00
Unify file queries and Scan execution, retain indexed Identical results, improve Job and Preview workflows, and verify release packaging.
1268 lines
45 KiB
Go
1268 lines
45 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v5.26.0
|
|
// source: file.proto
|
|
|
|
package entity
|
|
|
|
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 FileKind int32
|
|
|
|
const (
|
|
FileKind_FILE_KIND_UNSPECIFIED FileKind = 0
|
|
FileKind_FILE_KIND_REGULAR FileKind = 1
|
|
FileKind_FILE_KIND_DIRECTORY FileKind = 2
|
|
)
|
|
|
|
// Enum value maps for FileKind.
|
|
var (
|
|
FileKind_name = map[int32]string{
|
|
0: "FILE_KIND_UNSPECIFIED",
|
|
1: "FILE_KIND_REGULAR",
|
|
2: "FILE_KIND_DIRECTORY",
|
|
}
|
|
FileKind_value = map[string]int32{
|
|
"FILE_KIND_UNSPECIFIED": 0,
|
|
"FILE_KIND_REGULAR": 1,
|
|
"FILE_KIND_DIRECTORY": 2,
|
|
}
|
|
)
|
|
|
|
func (x FileKind) Enum() *FileKind {
|
|
p := new(FileKind)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x FileKind) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (FileKind) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_file_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (FileKind) Type() protoreflect.EnumType {
|
|
return &file_file_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x FileKind) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use FileKind.Descriptor instead.
|
|
func (FileKind) EnumDescriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type FileScope int32
|
|
|
|
const (
|
|
FileScope_FILE_SCOPE_UNSPECIFIED FileScope = 0
|
|
FileScope_FILE_SCOPE_DEFAULT FileScope = 1
|
|
FileScope_FILE_SCOPE_ALL FileScope = 2
|
|
FileScope_FILE_SCOPE_SAVED FileScope = 3
|
|
)
|
|
|
|
// Enum value maps for FileScope.
|
|
var (
|
|
FileScope_name = map[int32]string{
|
|
0: "FILE_SCOPE_UNSPECIFIED",
|
|
1: "FILE_SCOPE_DEFAULT",
|
|
2: "FILE_SCOPE_ALL",
|
|
3: "FILE_SCOPE_SAVED",
|
|
}
|
|
FileScope_value = map[string]int32{
|
|
"FILE_SCOPE_UNSPECIFIED": 0,
|
|
"FILE_SCOPE_DEFAULT": 1,
|
|
"FILE_SCOPE_ALL": 2,
|
|
"FILE_SCOPE_SAVED": 3,
|
|
}
|
|
)
|
|
|
|
func (x FileScope) Enum() *FileScope {
|
|
p := new(FileScope)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x FileScope) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (FileScope) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_file_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (FileScope) Type() protoreflect.EnumType {
|
|
return &file_file_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x FileScope) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use FileScope.Descriptor instead.
|
|
func (FileScope) EnumDescriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type OriginalAvailability int32
|
|
|
|
const (
|
|
OriginalAvailability_ORIGINAL_AVAILABILITY_UNSPECIFIED OriginalAvailability = 0
|
|
OriginalAvailability_ORIGINAL_AVAILABILITY_UNCHECKED OriginalAvailability = 1
|
|
OriginalAvailability_ORIGINAL_AVAILABILITY_PRESENT OriginalAvailability = 2
|
|
OriginalAvailability_ORIGINAL_AVAILABILITY_MISSING OriginalAvailability = 3
|
|
OriginalAvailability_ORIGINAL_AVAILABILITY_UNLINKED OriginalAvailability = 4
|
|
OriginalAvailability_ORIGINAL_AVAILABILITY_UNAVAILABLE OriginalAvailability = 5
|
|
)
|
|
|
|
// Enum value maps for OriginalAvailability.
|
|
var (
|
|
OriginalAvailability_name = map[int32]string{
|
|
0: "ORIGINAL_AVAILABILITY_UNSPECIFIED",
|
|
1: "ORIGINAL_AVAILABILITY_UNCHECKED",
|
|
2: "ORIGINAL_AVAILABILITY_PRESENT",
|
|
3: "ORIGINAL_AVAILABILITY_MISSING",
|
|
4: "ORIGINAL_AVAILABILITY_UNLINKED",
|
|
5: "ORIGINAL_AVAILABILITY_UNAVAILABLE",
|
|
}
|
|
OriginalAvailability_value = map[string]int32{
|
|
"ORIGINAL_AVAILABILITY_UNSPECIFIED": 0,
|
|
"ORIGINAL_AVAILABILITY_UNCHECKED": 1,
|
|
"ORIGINAL_AVAILABILITY_PRESENT": 2,
|
|
"ORIGINAL_AVAILABILITY_MISSING": 3,
|
|
"ORIGINAL_AVAILABILITY_UNLINKED": 4,
|
|
"ORIGINAL_AVAILABILITY_UNAVAILABLE": 5,
|
|
}
|
|
)
|
|
|
|
func (x OriginalAvailability) Enum() *OriginalAvailability {
|
|
p := new(OriginalAvailability)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OriginalAvailability) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OriginalAvailability) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_file_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (OriginalAvailability) Type() protoreflect.EnumType {
|
|
return &file_file_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x OriginalAvailability) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OriginalAvailability.Descriptor instead.
|
|
func (OriginalAvailability) EnumDescriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type LocationSelection struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LocationId int64 `protobuf:"varint,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
}
|
|
|
|
func (x *LocationSelection) Reset() {
|
|
*x = LocationSelection{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LocationSelection) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LocationSelection) ProtoMessage() {}
|
|
|
|
func (x *LocationSelection) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_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 LocationSelection.ProtoReflect.Descriptor instead.
|
|
func (*LocationSelection) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *LocationSelection) GetLocationId() int64 {
|
|
if x != nil {
|
|
return x.LocationId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LocationSelection) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Facts identify an observed filesystem object, not immutable content.
|
|
type LocationFileFacts struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SizeBytes int64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
|
|
Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
MtimeNs int64 `protobuf:"varint,3,opt,name=mtime_ns,json=mtimeNs,proto3" json:"mtime_ns,omitempty"`
|
|
}
|
|
|
|
func (x *LocationFileFacts) Reset() {
|
|
*x = LocationFileFacts{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LocationFileFacts) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LocationFileFacts) ProtoMessage() {}
|
|
|
|
func (x *LocationFileFacts) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_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 LocationFileFacts.ProtoReflect.Descriptor instead.
|
|
func (*LocationFileFacts) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *LocationFileFacts) GetSizeBytes() int64 {
|
|
if x != nil {
|
|
return x.SizeBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LocationFileFacts) GetMode() uint32 {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LocationFileFacts) GetMtimeNs() int64 {
|
|
if x != nil {
|
|
return x.MtimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LocationEntryRef struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LocationId int64 `protobuf:"varint,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Facts *LocationFileFacts `protobuf:"bytes,4,opt,name=facts,proto3" json:"facts,omitempty"`
|
|
}
|
|
|
|
func (x *LocationEntryRef) Reset() {
|
|
*x = LocationEntryRef{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LocationEntryRef) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LocationEntryRef) ProtoMessage() {}
|
|
|
|
func (x *LocationEntryRef) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_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 LocationEntryRef.ProtoReflect.Descriptor instead.
|
|
func (*LocationEntryRef) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *LocationEntryRef) GetLocationId() int64 {
|
|
if x != nil {
|
|
return x.LocationId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LocationEntryRef) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LocationEntryRef) GetFacts() *LocationFileFacts {
|
|
if x != nil {
|
|
return x.Facts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Selections retain the browser source and scope until bounded Job indexing freezes leaves.
|
|
type FileSelection struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Target:
|
|
//
|
|
// *FileSelection_Library
|
|
// *FileSelection_Location
|
|
Target isFileSelection_Target `protobuf_oneof:"target"`
|
|
Scope FileScope `protobuf:"varint,3,opt,name=scope,proto3,enum=yatm.v1.FileScope" json:"scope,omitempty"`
|
|
}
|
|
|
|
func (x *FileSelection) Reset() {
|
|
*x = FileSelection{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileSelection) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileSelection) ProtoMessage() {}
|
|
|
|
func (x *FileSelection) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_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 FileSelection.ProtoReflect.Descriptor instead.
|
|
func (*FileSelection) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (m *FileSelection) GetTarget() isFileSelection_Target {
|
|
if m != nil {
|
|
return m.Target
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileSelection) GetLibrary() *LibrarySelection {
|
|
if x, ok := x.GetTarget().(*FileSelection_Library); ok {
|
|
return x.Library
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileSelection) GetLocation() *LocationSelection {
|
|
if x, ok := x.GetTarget().(*FileSelection_Location); ok {
|
|
return x.Location
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileSelection) GetScope() FileScope {
|
|
if x != nil {
|
|
return x.Scope
|
|
}
|
|
return FileScope_FILE_SCOPE_UNSPECIFIED
|
|
}
|
|
|
|
type isFileSelection_Target interface {
|
|
isFileSelection_Target()
|
|
}
|
|
|
|
type FileSelection_Library struct {
|
|
Library *LibrarySelection `protobuf:"bytes,1,opt,name=library,proto3,oneof"`
|
|
}
|
|
|
|
type FileSelection_Location struct {
|
|
Location *LocationSelection `protobuf:"bytes,2,opt,name=location,proto3,oneof"`
|
|
}
|
|
|
|
func (*FileSelection_Library) isFileSelection_Target() {}
|
|
|
|
func (*FileSelection_Location) isFileSelection_Target() {}
|
|
|
|
type LibrarySelection struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FileId int64 `protobuf:"varint,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
|
|
}
|
|
|
|
func (x *LibrarySelection) Reset() {
|
|
*x = LibrarySelection{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LibrarySelection) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LibrarySelection) ProtoMessage() {}
|
|
|
|
func (x *LibrarySelection) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_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 LibrarySelection.ProtoReflect.Descriptor instead.
|
|
func (*LibrarySelection) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *LibrarySelection) GetFileId() int64 {
|
|
if x != nil {
|
|
return x.FileId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type File struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Mode int64 `protobuf:"varint,17,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
MtimeNs int64 `protobuf:"varint,18,opt,name=mtime_ns,json=mtimeNs,proto3" json:"mtime_ns,omitempty"`
|
|
SizeBytes int64 `protobuf:"varint,19,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
|
|
Sha256 []byte `protobuf:"bytes,20,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
Tags []string `protobuf:"bytes,21,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
Note string `protobuf:"bytes,22,opt,name=note,proto3" json:"note,omitempty"`
|
|
Kind FileKind `protobuf:"varint,24,opt,name=kind,proto3,enum=yatm.v1.FileKind" json:"kind,omitempty"`
|
|
CreatedAtNs int64 `protobuf:"varint,25,opt,name=created_at_ns,json=createdAtNs,proto3" json:"created_at_ns,omitempty"`
|
|
UpdatedAtNs int64 `protobuf:"varint,26,opt,name=updated_at_ns,json=updatedAtNs,proto3" json:"updated_at_ns,omitempty"`
|
|
// Catalog coverage and explicitly timed original observations, never a health guarantee.
|
|
ContentSummary *FileContentSummary `protobuf:"bytes,27,opt,name=content_summary,json=contentSummary,proto3" json:"content_summary,omitempty"`
|
|
}
|
|
|
|
func (x *File) Reset() {
|
|
*x = File{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[5]
|
|
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_file_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 File.ProtoReflect.Descriptor instead.
|
|
func (*File) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *File) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *File) GetParentId() int64 {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *File) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *File) GetMode() int64 {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *File) GetMtimeNs() int64 {
|
|
if x != nil {
|
|
return x.MtimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *File) GetSizeBytes() int64 {
|
|
if x != nil {
|
|
return x.SizeBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *File) GetSha256() []byte {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *File) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *File) GetNote() string {
|
|
if x != nil {
|
|
return x.Note
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *File) GetKind() FileKind {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return FileKind_FILE_KIND_UNSPECIFIED
|
|
}
|
|
|
|
func (x *File) GetCreatedAtNs() int64 {
|
|
if x != nil {
|
|
return x.CreatedAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *File) GetUpdatedAtNs() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *File) GetContentSummary() *FileContentSummary {
|
|
if x != nil {
|
|
return x.ContentSummary
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FileContentSummary struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HasOriginal bool `protobuf:"varint,1,opt,name=has_original,json=hasOriginal,proto3" json:"has_original,omitempty"`
|
|
HasVersions bool `protobuf:"varint,2,opt,name=has_versions,json=hasVersions,proto3" json:"has_versions,omitempty"`
|
|
SignatureKnown bool `protobuf:"varint,3,opt,name=signature_known,json=signatureKnown,proto3" json:"signature_known,omitempty"`
|
|
ArchivedCopyCount int64 `protobuf:"varint,4,opt,name=archived_copy_count,json=archivedCopyCount,proto3" json:"archived_copy_count,omitempty"`
|
|
HealthyCopyCount int64 `protobuf:"varint,5,opt,name=healthy_copy_count,json=healthyCopyCount,proto3" json:"healthy_copy_count,omitempty"`
|
|
UncheckedCopyCount int64 `protobuf:"varint,6,opt,name=unchecked_copy_count,json=uncheckedCopyCount,proto3" json:"unchecked_copy_count,omitempty"`
|
|
UnhealthyCopyCount int64 `protobuf:"varint,7,opt,name=unhealthy_copy_count,json=unhealthyCopyCount,proto3" json:"unhealthy_copy_count,omitempty"`
|
|
OriginalAvailability OriginalAvailability `protobuf:"varint,8,opt,name=original_availability,json=originalAvailability,proto3,enum=yatm.v1.OriginalAvailability" json:"original_availability,omitempty"`
|
|
ObservedAtNs int64 `protobuf:"varint,9,opt,name=observed_at_ns,json=observedAtNs,proto3" json:"observed_at_ns,omitempty"`
|
|
// Signature-linked history counts deduplicate physical Positions across versions.
|
|
VersionCopyCount int64 `protobuf:"varint,10,opt,name=version_copy_count,json=versionCopyCount,proto3" json:"version_copy_count,omitempty"`
|
|
RestorableVersionCopyCount int64 `protobuf:"varint,11,opt,name=restorable_version_copy_count,json=restorableVersionCopyCount,proto3" json:"restorable_version_copy_count,omitempty"`
|
|
UnhealthyVersionCopyCount int64 `protobuf:"varint,12,opt,name=unhealthy_version_copy_count,json=unhealthyVersionCopyCount,proto3" json:"unhealthy_version_copy_count,omitempty"`
|
|
LatestVersionId int64 `protobuf:"varint,13,opt,name=latest_version_id,json=latestVersionId,proto3" json:"latest_version_id,omitempty"`
|
|
LatestVersionRestorableCopyCount int64 `protobuf:"varint,14,opt,name=latest_version_restorable_copy_count,json=latestVersionRestorableCopyCount,proto3" json:"latest_version_restorable_copy_count,omitempty"`
|
|
// Current content counts require a valid binding and matching live object facts.
|
|
CurrentObservationValid bool `protobuf:"varint,15,opt,name=current_observation_valid,json=currentObservationValid,proto3" json:"current_observation_valid,omitempty"`
|
|
RestorableCurrentCopyCount int64 `protobuf:"varint,16,opt,name=restorable_current_copy_count,json=restorableCurrentCopyCount,proto3" json:"restorable_current_copy_count,omitempty"`
|
|
}
|
|
|
|
func (x *FileContentSummary) Reset() {
|
|
*x = FileContentSummary{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileContentSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileContentSummary) ProtoMessage() {}
|
|
|
|
func (x *FileContentSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FileContentSummary.ProtoReflect.Descriptor instead.
|
|
func (*FileContentSummary) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *FileContentSummary) GetHasOriginal() bool {
|
|
if x != nil {
|
|
return x.HasOriginal
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileContentSummary) GetHasVersions() bool {
|
|
if x != nil {
|
|
return x.HasVersions
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileContentSummary) GetSignatureKnown() bool {
|
|
if x != nil {
|
|
return x.SignatureKnown
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileContentSummary) GetArchivedCopyCount() int64 {
|
|
if x != nil {
|
|
return x.ArchivedCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetHealthyCopyCount() int64 {
|
|
if x != nil {
|
|
return x.HealthyCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetUncheckedCopyCount() int64 {
|
|
if x != nil {
|
|
return x.UncheckedCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetUnhealthyCopyCount() int64 {
|
|
if x != nil {
|
|
return x.UnhealthyCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetOriginalAvailability() OriginalAvailability {
|
|
if x != nil {
|
|
return x.OriginalAvailability
|
|
}
|
|
return OriginalAvailability_ORIGINAL_AVAILABILITY_UNSPECIFIED
|
|
}
|
|
|
|
func (x *FileContentSummary) GetObservedAtNs() int64 {
|
|
if x != nil {
|
|
return x.ObservedAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetVersionCopyCount() int64 {
|
|
if x != nil {
|
|
return x.VersionCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetRestorableVersionCopyCount() int64 {
|
|
if x != nil {
|
|
return x.RestorableVersionCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetUnhealthyVersionCopyCount() int64 {
|
|
if x != nil {
|
|
return x.UnhealthyVersionCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetLatestVersionId() int64 {
|
|
if x != nil {
|
|
return x.LatestVersionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetLatestVersionRestorableCopyCount() int64 {
|
|
if x != nil {
|
|
return x.LatestVersionRestorableCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileContentSummary) GetCurrentObservationValid() bool {
|
|
if x != nil {
|
|
return x.CurrentObservationValid
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileContentSummary) GetRestorableCurrentCopyCount() int64 {
|
|
if x != nil {
|
|
return x.RestorableCurrentCopyCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// An immutable archived content state owned by one independently organized File.
|
|
type FileVersion struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
FileId int64 `protobuf:"varint,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
|
|
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
Sha256 []byte `protobuf:"bytes,4,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
SizeBytes int64 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
|
|
Mode uint32 `protobuf:"varint,6,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
MtimeNs int64 `protobuf:"varint,7,opt,name=mtime_ns,json=mtimeNs,proto3" json:"mtime_ns,omitempty"`
|
|
FirstArchivedAtNs *int64 `protobuf:"varint,8,opt,name=first_archived_at_ns,json=firstArchivedAtNs,proto3,oneof" json:"first_archived_at_ns,omitempty"`
|
|
LastArchivedAtNs *int64 `protobuf:"varint,9,opt,name=last_archived_at_ns,json=lastArchivedAtNs,proto3,oneof" json:"last_archived_at_ns,omitempty"`
|
|
}
|
|
|
|
func (x *FileVersion) Reset() {
|
|
*x = FileVersion{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileVersion) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileVersion) ProtoMessage() {}
|
|
|
|
func (x *FileVersion) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_proto_msgTypes[7]
|
|
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 FileVersion.ProtoReflect.Descriptor instead.
|
|
func (*FileVersion) Descriptor() ([]byte, []int) {
|
|
return file_file_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *FileVersion) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileVersion) GetFileId() int64 {
|
|
if x != nil {
|
|
return x.FileId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileVersion) GetSignature() []byte {
|
|
if x != nil {
|
|
return x.Signature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileVersion) GetSha256() []byte {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileVersion) GetSizeBytes() int64 {
|
|
if x != nil {
|
|
return x.SizeBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileVersion) GetMode() uint32 {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileVersion) GetMtimeNs() int64 {
|
|
if x != nil {
|
|
return x.MtimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileVersion) GetFirstArchivedAtNs() int64 {
|
|
if x != nil && x.FirstArchivedAtNs != nil {
|
|
return *x.FirstArchivedAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileVersion) GetLastArchivedAtNs() int64 {
|
|
if x != nil && x.LastArchivedAtNs != nil {
|
|
return *x.LastArchivedAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_file_proto protoreflect.FileDescriptor
|
|
|
|
var file_file_proto_rawDesc = []byte{
|
|
0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x79, 0x61,
|
|
0x74, 0x6d, 0x2e, 0x76, 0x31, 0x22, 0x48, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f,
|
|
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70,
|
|
0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22,
|
|
0x61, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x46,
|
|
0x61, 0x63, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74,
|
|
0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79,
|
|
0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x74, 0x69, 0x6d, 0x65,
|
|
0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x74, 0x69, 0x6d, 0x65,
|
|
0x4e, 0x73, 0x22, 0x79, 0x0a, 0x10, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x52, 0x65, 0x66, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6c, 0x6f, 0x63,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x05, 0x66,
|
|
0x61, 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x79, 0x61, 0x74,
|
|
0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c,
|
|
0x65, 0x46, 0x61, 0x63, 0x74, 0x73, 0x52, 0x05, 0x66, 0x61, 0x63, 0x74, 0x73, 0x22, 0xb4, 0x01,
|
|
0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x35, 0x0a, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x19, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61,
|
|
0x72, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x6c,
|
|
0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x28, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x12, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x63,
|
|
0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x74, 0x61,
|
|
0x72, 0x67, 0x65, 0x74, 0x22, 0x2b, 0x0a, 0x10, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53,
|
|
0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65,
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49,
|
|
0x64, 0x22, 0x8a, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
|
|
0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70,
|
|
0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d,
|
|
0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12,
|
|
0x19, 0x0a, 0x08, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x07, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69,
|
|
0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
|
0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61,
|
|
0x32, 0x35, 0x36, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x68, 0x61, 0x32, 0x35,
|
|
0x36, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x16, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x6b, 0x69, 0x6e,
|
|
0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64,
|
|
0x12, 0x22, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x6e,
|
|
0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
|
|
0x41, 0x74, 0x4e, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f,
|
|
0x61, 0x74, 0x5f, 0x6e, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x4e, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x1b, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1b, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x0e,
|
|
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x22, 0xec,
|
|
0x06, 0x0a, 0x12, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75,
|
|
0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x61, 0x73, 0x5f, 0x6f, 0x72, 0x69,
|
|
0x67, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73,
|
|
0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x61, 0x73, 0x5f,
|
|
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b,
|
|
0x68, 0x61, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73,
|
|
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4b,
|
|
0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64,
|
|
0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x11, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x43, 0x6f, 0x70, 0x79, 0x43,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f,
|
|
0x63, 0x6f, 0x70, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x10, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x43, 0x6f, 0x70, 0x79, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x5f,
|
|
0x63, 0x6f, 0x70, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x12, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x43, 0x6f, 0x70, 0x79, 0x43,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68,
|
|
0x79, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x43, 0x6f, 0x70,
|
|
0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x15, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
|
|
0x61, 0x6c, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69,
|
|
0x6c, 0x69, 0x74, 0x79, 0x52, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x41, 0x76,
|
|
0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x62,
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0c, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x41, 0x74, 0x4e, 0x73,
|
|
0x12, 0x2c, 0x0a, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x70, 0x79,
|
|
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x76, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41,
|
|
0x0a, 0x1d, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x62, 0x6c,
|
|
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x43, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x12, 0x3f, 0x0a, 0x1c, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x76,
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74,
|
|
0x68, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c,
|
|
0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x4e,
|
|
0x0a, 0x24, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x70, 0x79,
|
|
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x20, 0x6c, 0x61,
|
|
0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x6f,
|
|
0x72, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3a,
|
|
0x0a, 0x19, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x17, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x41, 0x0a, 0x1d, 0x72, 0x65,
|
|
0x73, 0x74, 0x6f, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
|
|
0x5f, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x1a, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x75, 0x72,
|
|
0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x70, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xd5, 0x02,
|
|
0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a,
|
|
0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
|
0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
|
|
0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12, 0x1d, 0x0a, 0x0a,
|
|
0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d,
|
|
0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12,
|
|
0x19, 0x0a, 0x08, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x07, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x73, 0x12, 0x34, 0x0a, 0x14, 0x66, 0x69,
|
|
0x72, 0x73, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f,
|
|
0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73,
|
|
0x74, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x41, 0x74, 0x4e, 0x73, 0x88, 0x01, 0x01,
|
|
0x12, 0x32, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65,
|
|
0x64, 0x5f, 0x61, 0x74, 0x5f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52,
|
|
0x10, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x41, 0x74, 0x4e,
|
|
0x73, 0x88, 0x01, 0x01, 0x42, 0x17, 0x0a, 0x15, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x61,
|
|
0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x6e, 0x73, 0x42, 0x16, 0x0a,
|
|
0x14, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x5f,
|
|
0x61, 0x74, 0x5f, 0x6e, 0x73, 0x2a, 0x55, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x4b, 0x69, 0x6e,
|
|
0x64, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55,
|
|
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11,
|
|
0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x47, 0x55, 0x4c, 0x41,
|
|
0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x44,
|
|
0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x02, 0x2a, 0x69, 0x0a, 0x09,
|
|
0x46, 0x69, 0x6c, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x4c,
|
|
0x45, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
|
|
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x53, 0x43,
|
|
0x4f, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x12, 0x0a,
|
|
0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x10,
|
|
0x02, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f,
|
|
0x53, 0x41, 0x56, 0x45, 0x44, 0x10, 0x03, 0x2a, 0xf3, 0x01, 0x0a, 0x14, 0x4f, 0x72, 0x69, 0x67,
|
|
0x69, 0x6e, 0x61, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
|
|
0x12, 0x25, 0x0a, 0x21, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41,
|
|
0x49, 0x4c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
|
|
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x52, 0x49, 0x47, 0x49,
|
|
0x4e, 0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59,
|
|
0x5f, 0x55, 0x4e, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d,
|
|
0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42,
|
|
0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12,
|
|
0x21, 0x0a, 0x1d, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x49,
|
|
0x4c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47,
|
|
0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x41,
|
|
0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x4c, 0x49,
|
|
0x4e, 0x4b, 0x45, 0x44, 0x10, 0x04, 0x12, 0x25, 0x0a, 0x21, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e,
|
|
0x41, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f,
|
|
0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x05, 0x42, 0x2a, 0x5a,
|
|
0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x61, 0x6d, 0x75,
|
|
0x65, 0x6c, 0x6e, 0x63, 0x75, 0x69, 0x2f, 0x79, 0x61, 0x74, 0x6d, 0x2f, 0x65, 0x6e, 0x74, 0x69,
|
|
0x74, 0x79, 0x3b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x33,
|
|
}
|
|
|
|
var (
|
|
file_file_proto_rawDescOnce sync.Once
|
|
file_file_proto_rawDescData = file_file_proto_rawDesc
|
|
)
|
|
|
|
func file_file_proto_rawDescGZIP() []byte {
|
|
file_file_proto_rawDescOnce.Do(func() {
|
|
file_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_file_proto_rawDescData)
|
|
})
|
|
return file_file_proto_rawDescData
|
|
}
|
|
|
|
var file_file_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
|
var file_file_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_file_proto_goTypes = []interface{}{
|
|
(FileKind)(0), // 0: yatm.v1.FileKind
|
|
(FileScope)(0), // 1: yatm.v1.FileScope
|
|
(OriginalAvailability)(0), // 2: yatm.v1.OriginalAvailability
|
|
(*LocationSelection)(nil), // 3: yatm.v1.LocationSelection
|
|
(*LocationFileFacts)(nil), // 4: yatm.v1.LocationFileFacts
|
|
(*LocationEntryRef)(nil), // 5: yatm.v1.LocationEntryRef
|
|
(*FileSelection)(nil), // 6: yatm.v1.FileSelection
|
|
(*LibrarySelection)(nil), // 7: yatm.v1.LibrarySelection
|
|
(*File)(nil), // 8: yatm.v1.File
|
|
(*FileContentSummary)(nil), // 9: yatm.v1.FileContentSummary
|
|
(*FileVersion)(nil), // 10: yatm.v1.FileVersion
|
|
}
|
|
var file_file_proto_depIdxs = []int32{
|
|
4, // 0: yatm.v1.LocationEntryRef.facts:type_name -> yatm.v1.LocationFileFacts
|
|
7, // 1: yatm.v1.FileSelection.library:type_name -> yatm.v1.LibrarySelection
|
|
3, // 2: yatm.v1.FileSelection.location:type_name -> yatm.v1.LocationSelection
|
|
1, // 3: yatm.v1.FileSelection.scope:type_name -> yatm.v1.FileScope
|
|
0, // 4: yatm.v1.File.kind:type_name -> yatm.v1.FileKind
|
|
9, // 5: yatm.v1.File.content_summary:type_name -> yatm.v1.FileContentSummary
|
|
2, // 6: yatm.v1.FileContentSummary.original_availability:type_name -> yatm.v1.OriginalAvailability
|
|
7, // [7:7] is the sub-list for method output_type
|
|
7, // [7:7] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_file_proto_init() }
|
|
func file_file_proto_init() {
|
|
if File_file_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LocationSelection); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LocationFileFacts); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LocationEntryRef); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileSelection); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LibrarySelection); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_proto_msgTypes[5].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_file_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileContentSummary); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileVersion); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_file_proto_msgTypes[3].OneofWrappers = []interface{}{
|
|
(*FileSelection_Library)(nil),
|
|
(*FileSelection_Location)(nil),
|
|
}
|
|
file_file_proto_msgTypes[7].OneofWrappers = []interface{}{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_file_proto_rawDesc,
|
|
NumEnums: 3,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_file_proto_goTypes,
|
|
DependencyIndexes: file_file_proto_depIdxs,
|
|
EnumInfos: file_file_proto_enumTypes,
|
|
MessageInfos: file_file_proto_msgTypes,
|
|
}.Build()
|
|
File_file_proto = out.File
|
|
file_file_proto_rawDesc = nil
|
|
file_file_proto_goTypes = nil
|
|
file_file_proto_depIdxs = nil
|
|
}
|