mirror of
https://github.com/samuelncui/yatm.git
synced 2026-11-08 12:26:33 +00:00
Unify file queries and Scan execution, retain indexed Identical results, improve Job and Preview workflows, and verify release packaging.
805 lines
31 KiB
Go
805 lines
31 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v5.26.0
|
|
// source: file_operation.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)
|
|
)
|
|
|
|
// File operations run within the request lifetime, without creating a Job.
|
|
type FileOperationKind int32
|
|
|
|
const (
|
|
FileOperationKind_FILE_OPERATION_KIND_UNSPECIFIED FileOperationKind = 0
|
|
FileOperationKind_FILE_OPERATION_KIND_MOVE FileOperationKind = 1
|
|
FileOperationKind_FILE_OPERATION_KIND_MKDIR FileOperationKind = 3
|
|
FileOperationKind_FILE_OPERATION_KIND_REMOVE FileOperationKind = 4
|
|
FileOperationKind_FILE_OPERATION_KIND_SCAN FileOperationKind = 5
|
|
FileOperationKind_FILE_OPERATION_KIND_ARCHIVE FileOperationKind = 6
|
|
FileOperationKind_FILE_OPERATION_KIND_UPDATE_METADATA FileOperationKind = 7
|
|
FileOperationKind_FILE_OPERATION_KIND_ADMIT FileOperationKind = 8
|
|
)
|
|
|
|
// Enum value maps for FileOperationKind.
|
|
var (
|
|
FileOperationKind_name = map[int32]string{
|
|
0: "FILE_OPERATION_KIND_UNSPECIFIED",
|
|
1: "FILE_OPERATION_KIND_MOVE",
|
|
3: "FILE_OPERATION_KIND_MKDIR",
|
|
4: "FILE_OPERATION_KIND_REMOVE",
|
|
5: "FILE_OPERATION_KIND_SCAN",
|
|
6: "FILE_OPERATION_KIND_ARCHIVE",
|
|
7: "FILE_OPERATION_KIND_UPDATE_METADATA",
|
|
8: "FILE_OPERATION_KIND_ADMIT",
|
|
}
|
|
FileOperationKind_value = map[string]int32{
|
|
"FILE_OPERATION_KIND_UNSPECIFIED": 0,
|
|
"FILE_OPERATION_KIND_MOVE": 1,
|
|
"FILE_OPERATION_KIND_MKDIR": 3,
|
|
"FILE_OPERATION_KIND_REMOVE": 4,
|
|
"FILE_OPERATION_KIND_SCAN": 5,
|
|
"FILE_OPERATION_KIND_ARCHIVE": 6,
|
|
"FILE_OPERATION_KIND_UPDATE_METADATA": 7,
|
|
"FILE_OPERATION_KIND_ADMIT": 8,
|
|
}
|
|
)
|
|
|
|
func (x FileOperationKind) Enum() *FileOperationKind {
|
|
p := new(FileOperationKind)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x FileOperationKind) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (FileOperationKind) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_file_operation_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (FileOperationKind) Type() protoreflect.EnumType {
|
|
return &file_file_operation_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x FileOperationKind) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use FileOperationKind.Descriptor instead.
|
|
func (FileOperationKind) EnumDescriptor() ([]byte, []int) {
|
|
return file_file_operation_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type FileOperationOutcome int32
|
|
|
|
const (
|
|
FileOperationOutcome_FILE_OPERATION_OUTCOME_UNSPECIFIED FileOperationOutcome = 0
|
|
FileOperationOutcome_FILE_OPERATION_OUTCOME_UNPROCESSED FileOperationOutcome = 1
|
|
FileOperationOutcome_FILE_OPERATION_OUTCOME_SUCCEEDED FileOperationOutcome = 2
|
|
FileOperationOutcome_FILE_OPERATION_OUTCOME_FAILED FileOperationOutcome = 3
|
|
// Physical work succeeded, but Library association publication failed.
|
|
FileOperationOutcome_FILE_OPERATION_OUTCOME_PUBLICATION_PENDING FileOperationOutcome = 4
|
|
)
|
|
|
|
// Enum value maps for FileOperationOutcome.
|
|
var (
|
|
FileOperationOutcome_name = map[int32]string{
|
|
0: "FILE_OPERATION_OUTCOME_UNSPECIFIED",
|
|
1: "FILE_OPERATION_OUTCOME_UNPROCESSED",
|
|
2: "FILE_OPERATION_OUTCOME_SUCCEEDED",
|
|
3: "FILE_OPERATION_OUTCOME_FAILED",
|
|
4: "FILE_OPERATION_OUTCOME_PUBLICATION_PENDING",
|
|
}
|
|
FileOperationOutcome_value = map[string]int32{
|
|
"FILE_OPERATION_OUTCOME_UNSPECIFIED": 0,
|
|
"FILE_OPERATION_OUTCOME_UNPROCESSED": 1,
|
|
"FILE_OPERATION_OUTCOME_SUCCEEDED": 2,
|
|
"FILE_OPERATION_OUTCOME_FAILED": 3,
|
|
"FILE_OPERATION_OUTCOME_PUBLICATION_PENDING": 4,
|
|
}
|
|
)
|
|
|
|
func (x FileOperationOutcome) Enum() *FileOperationOutcome {
|
|
p := new(FileOperationOutcome)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x FileOperationOutcome) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (FileOperationOutcome) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_file_operation_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (FileOperationOutcome) Type() protoreflect.EnumType {
|
|
return &file_file_operation_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x FileOperationOutcome) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use FileOperationOutcome.Descriptor instead.
|
|
func (FileOperationOutcome) EnumDescriptor() ([]byte, []int) {
|
|
return file_file_operation_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type FileOperationRef struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Target:
|
|
//
|
|
// *FileOperationRef_FileId
|
|
// *FileOperationRef_Location
|
|
Target isFileOperationRef_Target `protobuf_oneof:"target"`
|
|
}
|
|
|
|
func (x *FileOperationRef) Reset() {
|
|
*x = FileOperationRef{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_operation_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileOperationRef) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileOperationRef) ProtoMessage() {}
|
|
|
|
func (x *FileOperationRef) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_operation_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 FileOperationRef.ProtoReflect.Descriptor instead.
|
|
func (*FileOperationRef) Descriptor() ([]byte, []int) {
|
|
return file_file_operation_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (m *FileOperationRef) GetTarget() isFileOperationRef_Target {
|
|
if m != nil {
|
|
return m.Target
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileOperationRef) GetFileId() int64 {
|
|
if x, ok := x.GetTarget().(*FileOperationRef_FileId); ok {
|
|
return x.FileId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationRef) GetLocation() *LocationEntryRef {
|
|
if x, ok := x.GetTarget().(*FileOperationRef_Location); ok {
|
|
return x.Location
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isFileOperationRef_Target interface {
|
|
isFileOperationRef_Target()
|
|
}
|
|
|
|
type FileOperationRef_FileId struct {
|
|
// Library root (0) is valid only as a destination.
|
|
FileId int64 `protobuf:"varint,1,opt,name=file_id,json=fileId,proto3,oneof"`
|
|
}
|
|
|
|
type FileOperationRef_Location struct {
|
|
Location *LocationEntryRef `protobuf:"bytes,2,opt,name=location,proto3,oneof"`
|
|
}
|
|
|
|
func (*FileOperationRef_FileId) isFileOperationRef_Target() {}
|
|
|
|
func (*FileOperationRef_Location) isFileOperationRef_Target() {}
|
|
|
|
type FileOperationSpec struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Kind FileOperationKind `protobuf:"varint,1,opt,name=kind,proto3,enum=yatm.v1.FileOperationKind" json:"kind,omitempty"`
|
|
Sources []*FileOperationRef `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
|
|
// Existing directory in the same Library or Location scope as the sources.
|
|
Destination *FileOperationRef `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
|
|
// Required for mkdir; optional replacement name for one move/copy source.
|
|
// Library accepts logical relative paths; Location requires one leaf name.
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
}
|
|
|
|
func (x *FileOperationSpec) Reset() {
|
|
*x = FileOperationSpec{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_operation_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileOperationSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileOperationSpec) ProtoMessage() {}
|
|
|
|
func (x *FileOperationSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_operation_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 FileOperationSpec.ProtoReflect.Descriptor instead.
|
|
func (*FileOperationSpec) Descriptor() ([]byte, []int) {
|
|
return file_file_operation_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *FileOperationSpec) GetKind() FileOperationKind {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return FileOperationKind_FILE_OPERATION_KIND_UNSPECIFIED
|
|
}
|
|
|
|
func (x *FileOperationSpec) GetSources() []*FileOperationRef {
|
|
if x != nil {
|
|
return x.Sources
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileOperationSpec) GetDestination() *FileOperationRef {
|
|
if x != nil {
|
|
return x.Destination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileOperationSpec) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FileOperationEntry struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
SourcePath string `protobuf:"bytes,2,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"`
|
|
TargetPath string `protobuf:"bytes,3,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"`
|
|
Directory bool `protobuf:"varint,4,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
SizeBytes int64 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
|
|
Outcome FileOperationOutcome `protobuf:"varint,6,opt,name=outcome,proto3,enum=yatm.v1.FileOperationOutcome" json:"outcome,omitempty"`
|
|
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
|
|
FileId *int64 `protobuf:"varint,8,opt,name=file_id,json=fileId,proto3,oneof" json:"file_id,omitempty"`
|
|
}
|
|
|
|
func (x *FileOperationEntry) Reset() {
|
|
*x = FileOperationEntry{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_operation_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileOperationEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileOperationEntry) ProtoMessage() {}
|
|
|
|
func (x *FileOperationEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_operation_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 FileOperationEntry.ProtoReflect.Descriptor instead.
|
|
func (*FileOperationEntry) Descriptor() ([]byte, []int) {
|
|
return file_file_operation_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetSourcePath() string {
|
|
if x != nil {
|
|
return x.SourcePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetTargetPath() string {
|
|
if x != nil {
|
|
return x.TargetPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetDirectory() bool {
|
|
if x != nil {
|
|
return x.Directory
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetSizeBytes() int64 {
|
|
if x != nil {
|
|
return x.SizeBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetOutcome() FileOperationOutcome {
|
|
if x != nil {
|
|
return x.Outcome
|
|
}
|
|
return FileOperationOutcome_FILE_OPERATION_OUTCOME_UNSPECIFIED
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileOperationEntry) GetFileId() int64 {
|
|
if x != nil && x.FileId != nil {
|
|
return *x.FileId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FileOperationSummary struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TotalItemCount int64 `protobuf:"varint,1,opt,name=total_item_count,json=totalItemCount,proto3" json:"total_item_count,omitempty"`
|
|
TotalBytes int64 `protobuf:"varint,2,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
SucceededCount int64 `protobuf:"varint,3,opt,name=succeeded_count,json=succeededCount,proto3" json:"succeeded_count,omitempty"`
|
|
FailedCount int64 `protobuf:"varint,4,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`
|
|
UnprocessedCount int64 `protobuf:"varint,5,opt,name=unprocessed_count,json=unprocessedCount,proto3" json:"unprocessed_count,omitempty"`
|
|
PublicationPendingCount int64 `protobuf:"varint,6,opt,name=publication_pending_count,json=publicationPendingCount,proto3" json:"publication_pending_count,omitempty"`
|
|
// Final response; inspect counts to distinguish success from partial failure.
|
|
Completed bool `protobuf:"varint,7,opt,name=completed,proto3" json:"completed,omitempty"`
|
|
// The request only reported plans: entry paths are the resolved intent and nothing changed.
|
|
Dryrun bool `protobuf:"varint,8,opt,name=dryrun,proto3" json:"dryrun,omitempty"`
|
|
}
|
|
|
|
func (x *FileOperationSummary) Reset() {
|
|
*x = FileOperationSummary{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_operation_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileOperationSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileOperationSummary) ProtoMessage() {}
|
|
|
|
func (x *FileOperationSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_operation_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 FileOperationSummary.ProtoReflect.Descriptor instead.
|
|
func (*FileOperationSummary) Descriptor() ([]byte, []int) {
|
|
return file_file_operation_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetTotalItemCount() int64 {
|
|
if x != nil {
|
|
return x.TotalItemCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetTotalBytes() int64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetSucceededCount() int64 {
|
|
if x != nil {
|
|
return x.SucceededCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetFailedCount() int64 {
|
|
if x != nil {
|
|
return x.FailedCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetUnprocessedCount() int64 {
|
|
if x != nil {
|
|
return x.UnprocessedCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetPublicationPendingCount() int64 {
|
|
if x != nil {
|
|
return x.PublicationPendingCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetCompleted() bool {
|
|
if x != nil {
|
|
return x.Completed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileOperationSummary) GetDryrun() bool {
|
|
if x != nil {
|
|
return x.Dryrun
|
|
}
|
|
return false
|
|
}
|
|
|
|
type FileOperationResult struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Entry *FileOperationEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
|
|
Summary *FileOperationSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
|
|
}
|
|
|
|
func (x *FileOperationResult) Reset() {
|
|
*x = FileOperationResult{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_file_operation_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FileOperationResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileOperationResult) ProtoMessage() {}
|
|
|
|
func (x *FileOperationResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_operation_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 FileOperationResult.ProtoReflect.Descriptor instead.
|
|
func (*FileOperationResult) Descriptor() ([]byte, []int) {
|
|
return file_file_operation_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *FileOperationResult) GetEntry() *FileOperationEntry {
|
|
if x != nil {
|
|
return x.Entry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileOperationResult) GetSummary() *FileOperationSummary {
|
|
if x != nil {
|
|
return x.Summary
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_file_operation_proto protoreflect.FileDescriptor
|
|
|
|
var file_file_operation_proto_rawDesc = []byte{
|
|
0x0a, 0x14, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x1a,
|
|
0x0a, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x10, 0x46,
|
|
0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x12,
|
|
0x19, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x6c, 0x6f,
|
|
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x79,
|
|
0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x66, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xc9, 0x01,
|
|
0x0a, 0x11, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
|
|
0x70, 0x65, 0x63, 0x12, 0x2e, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x1a, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65,
|
|
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b,
|
|
0x69, 0x6e, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46,
|
|
0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x52,
|
|
0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74,
|
|
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
|
|
0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9c, 0x02, 0x0a, 0x12, 0x46, 0x69,
|
|
0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
|
0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74,
|
|
0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61,
|
|
0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
|
|
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,
|
|
0x37, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x1d, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f,
|
|
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x52,
|
|
0x07, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
|
|
0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1c,
|
|
0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48,
|
|
0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08,
|
|
0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x22, 0xcc, 0x02, 0x0a, 0x14, 0x46, 0x69, 0x6c,
|
|
0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72,
|
|
0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f,
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74,
|
|
0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f,
|
|
0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64,
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f,
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x61, 0x69,
|
|
0x6c, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x70, 0x72,
|
|
0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x10, 0x75, 0x6e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64,
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12,
|
|
0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x65,
|
|
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
|
|
0x31, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
|
|
0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65,
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74,
|
|
0x72, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69,
|
|
0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x6d, 0x6d, 0x61,
|
|
0x72, 0x79, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2a, 0x9c, 0x02, 0x0a, 0x11,
|
|
0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e,
|
|
0x64, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54,
|
|
0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
|
|
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f,
|
|
0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x4d, 0x4f,
|
|
0x56, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45,
|
|
0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x4d, 0x4b, 0x44, 0x49,
|
|
0x52, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52,
|
|
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56,
|
|
0x45, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52,
|
|
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x53, 0x43, 0x41, 0x4e, 0x10,
|
|
0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54,
|
|
0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45,
|
|
0x10, 0x06, 0x12, 0x27, 0x0a, 0x23, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41,
|
|
0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
|
|
0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x10, 0x07, 0x12, 0x1d, 0x0a, 0x19, 0x46,
|
|
0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x49,
|
|
0x4e, 0x44, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x54, 0x10, 0x08, 0x2a, 0xdf, 0x01, 0x0a, 0x14, 0x46,
|
|
0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74, 0x63,
|
|
0x6f, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x22, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52,
|
|
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x55, 0x54, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x55, 0x4e,
|
|
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x46,
|
|
0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x55,
|
|
0x54, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x45,
|
|
0x44, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52,
|
|
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x55, 0x54, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x53, 0x55,
|
|
0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x49, 0x4c,
|
|
0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x55, 0x54, 0x43,
|
|
0x4f, 0x4d, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x2e, 0x0a, 0x2a,
|
|
0x46, 0x49, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f,
|
|
0x55, 0x54, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49,
|
|
0x4f, 0x4e, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x04, 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_operation_proto_rawDescOnce sync.Once
|
|
file_file_operation_proto_rawDescData = file_file_operation_proto_rawDesc
|
|
)
|
|
|
|
func file_file_operation_proto_rawDescGZIP() []byte {
|
|
file_file_operation_proto_rawDescOnce.Do(func() {
|
|
file_file_operation_proto_rawDescData = protoimpl.X.CompressGZIP(file_file_operation_proto_rawDescData)
|
|
})
|
|
return file_file_operation_proto_rawDescData
|
|
}
|
|
|
|
var file_file_operation_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_file_operation_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_file_operation_proto_goTypes = []interface{}{
|
|
(FileOperationKind)(0), // 0: yatm.v1.FileOperationKind
|
|
(FileOperationOutcome)(0), // 1: yatm.v1.FileOperationOutcome
|
|
(*FileOperationRef)(nil), // 2: yatm.v1.FileOperationRef
|
|
(*FileOperationSpec)(nil), // 3: yatm.v1.FileOperationSpec
|
|
(*FileOperationEntry)(nil), // 4: yatm.v1.FileOperationEntry
|
|
(*FileOperationSummary)(nil), // 5: yatm.v1.FileOperationSummary
|
|
(*FileOperationResult)(nil), // 6: yatm.v1.FileOperationResult
|
|
(*LocationEntryRef)(nil), // 7: yatm.v1.LocationEntryRef
|
|
}
|
|
var file_file_operation_proto_depIdxs = []int32{
|
|
7, // 0: yatm.v1.FileOperationRef.location:type_name -> yatm.v1.LocationEntryRef
|
|
0, // 1: yatm.v1.FileOperationSpec.kind:type_name -> yatm.v1.FileOperationKind
|
|
2, // 2: yatm.v1.FileOperationSpec.sources:type_name -> yatm.v1.FileOperationRef
|
|
2, // 3: yatm.v1.FileOperationSpec.destination:type_name -> yatm.v1.FileOperationRef
|
|
1, // 4: yatm.v1.FileOperationEntry.outcome:type_name -> yatm.v1.FileOperationOutcome
|
|
4, // 5: yatm.v1.FileOperationResult.entry:type_name -> yatm.v1.FileOperationEntry
|
|
5, // 6: yatm.v1.FileOperationResult.summary:type_name -> yatm.v1.FileOperationSummary
|
|
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_operation_proto_init() }
|
|
func file_file_operation_proto_init() {
|
|
if File_file_operation_proto != nil {
|
|
return
|
|
}
|
|
file_file_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_file_operation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileOperationRef); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_operation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileOperationSpec); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_operation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileOperationEntry); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_operation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileOperationSummary); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_file_operation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FileOperationResult); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_file_operation_proto_msgTypes[0].OneofWrappers = []interface{}{
|
|
(*FileOperationRef_FileId)(nil),
|
|
(*FileOperationRef_Location)(nil),
|
|
}
|
|
file_file_operation_proto_msgTypes[2].OneofWrappers = []interface{}{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_file_operation_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_file_operation_proto_goTypes,
|
|
DependencyIndexes: file_file_operation_proto_depIdxs,
|
|
EnumInfos: file_file_operation_proto_enumTypes,
|
|
MessageInfos: file_file_operation_proto_msgTypes,
|
|
}.Build()
|
|
File_file_operation_proto = out.File
|
|
file_file_operation_proto_rawDesc = nil
|
|
file_file_operation_proto_goTypes = nil
|
|
file_file_operation_proto_depIdxs = nil
|
|
}
|