Files
yatm/entity/job_archive.pb.go
2022-12-13 17:00:04 +08:00

721 lines
24 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.10
// source: job_archive.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 JobArchiveStep int32
const (
JobArchiveStep_Pending JobArchiveStep = 0
JobArchiveStep_WaitForTape JobArchiveStep = 1
JobArchiveStep_Copying JobArchiveStep = 2
JobArchiveStep_Finished JobArchiveStep = 255
)
// Enum value maps for JobArchiveStep.
var (
JobArchiveStep_name = map[int32]string{
0: "Pending",
1: "WaitForTape",
2: "Copying",
255: "Finished",
}
JobArchiveStep_value = map[string]int32{
"Pending": 0,
"WaitForTape": 1,
"Copying": 2,
"Finished": 255,
}
)
func (x JobArchiveStep) Enum() *JobArchiveStep {
p := new(JobArchiveStep)
*p = x
return p
}
func (x JobArchiveStep) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (JobArchiveStep) Descriptor() protoreflect.EnumDescriptor {
return file_job_archive_proto_enumTypes[0].Descriptor()
}
func (JobArchiveStep) Type() protoreflect.EnumType {
return &file_job_archive_proto_enumTypes[0]
}
func (x JobArchiveStep) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use JobArchiveStep.Descriptor instead.
func (JobArchiveStep) EnumDescriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{0}
}
type JobParamArchive struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
}
func (x *JobParamArchive) Reset() {
*x = JobParamArchive{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobParamArchive) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobParamArchive) ProtoMessage() {}
func (x *JobParamArchive) ProtoReflect() protoreflect.Message {
mi := &file_job_archive_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 JobParamArchive.ProtoReflect.Descriptor instead.
func (*JobParamArchive) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{0}
}
func (x *JobParamArchive) GetSources() []*Source {
if x != nil {
return x.Sources
}
return nil
}
type JobArchiveNextParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Param:
// *JobArchiveNextParam_WaitForTape
// *JobArchiveNextParam_Copying
// *JobArchiveNextParam_Finished
Param isJobArchiveNextParam_Param `protobuf_oneof:"param"`
}
func (x *JobArchiveNextParam) Reset() {
*x = JobArchiveNextParam{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveNextParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveNextParam) ProtoMessage() {}
func (x *JobArchiveNextParam) ProtoReflect() protoreflect.Message {
mi := &file_job_archive_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 JobArchiveNextParam.ProtoReflect.Descriptor instead.
func (*JobArchiveNextParam) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{1}
}
func (m *JobArchiveNextParam) GetParam() isJobArchiveNextParam_Param {
if m != nil {
return m.Param
}
return nil
}
func (x *JobArchiveNextParam) GetWaitForTape() *JobArchiveWaitForTapeParam {
if x, ok := x.GetParam().(*JobArchiveNextParam_WaitForTape); ok {
return x.WaitForTape
}
return nil
}
func (x *JobArchiveNextParam) GetCopying() *JobArchiveCopyingParam {
if x, ok := x.GetParam().(*JobArchiveNextParam_Copying); ok {
return x.Copying
}
return nil
}
func (x *JobArchiveNextParam) GetFinished() *JobArchiveFinishedParam {
if x, ok := x.GetParam().(*JobArchiveNextParam_Finished); ok {
return x.Finished
}
return nil
}
type isJobArchiveNextParam_Param interface {
isJobArchiveNextParam_Param()
}
type JobArchiveNextParam_WaitForTape struct {
WaitForTape *JobArchiveWaitForTapeParam `protobuf:"bytes,1,opt,name=WaitForTape,proto3,oneof"`
}
type JobArchiveNextParam_Copying struct {
Copying *JobArchiveCopyingParam `protobuf:"bytes,2,opt,name=Copying,proto3,oneof"`
}
type JobArchiveNextParam_Finished struct {
Finished *JobArchiveFinishedParam `protobuf:"bytes,255,opt,name=Finished,proto3,oneof"`
}
func (*JobArchiveNextParam_WaitForTape) isJobArchiveNextParam_Param() {}
func (*JobArchiveNextParam_Copying) isJobArchiveNextParam_Param() {}
func (*JobArchiveNextParam_Finished) isJobArchiveNextParam_Param() {}
type JobArchiveWaitForTapeParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *JobArchiveWaitForTapeParam) Reset() {
*x = JobArchiveWaitForTapeParam{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveWaitForTapeParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveWaitForTapeParam) ProtoMessage() {}
func (x *JobArchiveWaitForTapeParam) ProtoReflect() protoreflect.Message {
mi := &file_job_archive_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 JobArchiveWaitForTapeParam.ProtoReflect.Descriptor instead.
func (*JobArchiveWaitForTapeParam) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{2}
}
type JobArchiveCopyingParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
Barcode string `protobuf:"bytes,2,opt,name=barcode,proto3" json:"barcode,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *JobArchiveCopyingParam) Reset() {
*x = JobArchiveCopyingParam{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveCopyingParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveCopyingParam) ProtoMessage() {}
func (x *JobArchiveCopyingParam) ProtoReflect() protoreflect.Message {
mi := &file_job_archive_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 JobArchiveCopyingParam.ProtoReflect.Descriptor instead.
func (*JobArchiveCopyingParam) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{3}
}
func (x *JobArchiveCopyingParam) GetDevice() string {
if x != nil {
return x.Device
}
return ""
}
func (x *JobArchiveCopyingParam) GetBarcode() string {
if x != nil {
return x.Barcode
}
return ""
}
func (x *JobArchiveCopyingParam) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type JobArchiveFinishedParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *JobArchiveFinishedParam) Reset() {
*x = JobArchiveFinishedParam{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveFinishedParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveFinishedParam) ProtoMessage() {}
func (x *JobArchiveFinishedParam) ProtoReflect() protoreflect.Message {
mi := &file_job_archive_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 JobArchiveFinishedParam.ProtoReflect.Descriptor instead.
func (*JobArchiveFinishedParam) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{4}
}
type JobStateArchive struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Step JobArchiveStep `protobuf:"varint,1,opt,name=step,proto3,enum=job_archive.JobArchiveStep" json:"step,omitempty"`
Sources []*SourceState `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
}
func (x *JobStateArchive) Reset() {
*x = JobStateArchive{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobStateArchive) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobStateArchive) ProtoMessage() {}
func (x *JobStateArchive) ProtoReflect() protoreflect.Message {
mi := &file_job_archive_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 JobStateArchive.ProtoReflect.Descriptor instead.
func (*JobStateArchive) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{5}
}
func (x *JobStateArchive) GetStep() JobArchiveStep {
if x != nil {
return x.Step
}
return JobArchiveStep_Pending
}
func (x *JobStateArchive) GetSources() []*SourceState {
if x != nil {
return x.Sources
}
return nil
}
type JobDisplayArchive struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CopyedBytes int64 `protobuf:"varint,1,opt,name=copyedBytes,proto3" json:"copyedBytes,omitempty"`
CopyedFiles int64 `protobuf:"varint,2,opt,name=copyedFiles,proto3" json:"copyedFiles,omitempty"`
TotalBytes int64 `protobuf:"varint,3,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"`
TotalFiles int64 `protobuf:"varint,4,opt,name=totalFiles,proto3" json:"totalFiles,omitempty"`
Speed *int64 `protobuf:"varint,5,opt,name=speed,proto3,oneof" json:"speed,omitempty"`
StartTime int64 `protobuf:"varint,6,opt,name=startTime,proto3" json:"startTime,omitempty"`
}
func (x *JobDisplayArchive) Reset() {
*x = JobDisplayArchive{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobDisplayArchive) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobDisplayArchive) ProtoMessage() {}
func (x *JobDisplayArchive) ProtoReflect() protoreflect.Message {
mi := &file_job_archive_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 JobDisplayArchive.ProtoReflect.Descriptor instead.
func (*JobDisplayArchive) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{6}
}
func (x *JobDisplayArchive) GetCopyedBytes() int64 {
if x != nil {
return x.CopyedBytes
}
return 0
}
func (x *JobDisplayArchive) GetCopyedFiles() int64 {
if x != nil {
return x.CopyedFiles
}
return 0
}
func (x *JobDisplayArchive) GetTotalBytes() int64 {
if x != nil {
return x.TotalBytes
}
return 0
}
func (x *JobDisplayArchive) GetTotalFiles() int64 {
if x != nil {
return x.TotalFiles
}
return 0
}
func (x *JobDisplayArchive) GetSpeed() int64 {
if x != nil && x.Speed != nil {
return *x.Speed
}
return 0
}
func (x *JobDisplayArchive) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
var File_job_archive_proto protoreflect.FileDescriptor
var file_job_archive_proto_rawDesc = []byte{
0x0a, 0x11, 0x6a, 0x6f, 0x62, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6a, 0x6f, 0x62, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65,
0x1a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b,
0x0a, 0x0f, 0x4a, 0x6f, 0x62, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76,
0x65, 0x12, 0x28, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0xf1, 0x01, 0x0a, 0x13,
0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x12, 0x4b, 0x0a, 0x0b, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x54, 0x61,
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6a, 0x6f, 0x62, 0x5f, 0x61,
0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76,
0x65, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x54, 0x61, 0x70, 0x65, 0x50, 0x61, 0x72, 0x61,
0x6d, 0x48, 0x00, 0x52, 0x0b, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x54, 0x61, 0x70, 0x65,
0x12, 0x3f, 0x0a, 0x07, 0x43, 0x6f, 0x70, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x23, 0x2e, 0x6a, 0x6f, 0x62, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e,
0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x69, 0x6e,
0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x48, 0x00, 0x52, 0x07, 0x43, 0x6f, 0x70, 0x79, 0x69, 0x6e,
0x67, 0x12, 0x43, 0x0a, 0x08, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0xff, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6a, 0x6f, 0x62, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69,
0x76, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6e,
0x69, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x48, 0x00, 0x52, 0x08, 0x46, 0x69,
0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x22,
0x1c, 0x0a, 0x1a, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x57, 0x61, 0x69,
0x74, 0x46, 0x6f, 0x72, 0x54, 0x61, 0x70, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x5e, 0x0a,
0x16, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x70, 0x79, 0x69,
0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12,
0x18, 0x0a, 0x07, 0x62, 0x61, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x62, 0x61, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a,
0x17, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73,
0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x71, 0x0a, 0x0f, 0x4a, 0x6f, 0x62, 0x53,
0x74, 0x61, 0x74, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x73,
0x74, 0x65, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6a, 0x6f, 0x62, 0x5f,
0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69,
0x76, 0x65, 0x53, 0x74, 0x65, 0x70, 0x52, 0x04, 0x73, 0x74, 0x65, 0x70, 0x12, 0x2d, 0x0a, 0x07,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61,
0x74, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x11,
0x4a, 0x6f, 0x62, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76,
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x65, 0x64, 0x42, 0x79,
0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x65, 0x64, 0x46, 0x69, 0x6c,
0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x65, 0x64,
0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79,
0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x69,
0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x05,
0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x88, 0x01, 0x01,
0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x08,
0x0a, 0x06, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x2a, 0x4a, 0x0a, 0x0e, 0x4a, 0x6f, 0x62, 0x41,
0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x74, 0x65, 0x70, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x65,
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x57, 0x61, 0x69, 0x74, 0x46,
0x6f, 0x72, 0x54, 0x61, 0x70, 0x65, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x6f, 0x70, 0x79,
0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x08, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
0x64, 0x10, 0xff, 0x01, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x61, 0x62, 0x63, 0x39, 0x35, 0x30, 0x33, 0x30, 0x39, 0x2f, 0x74, 0x61, 0x70,
0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x72, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_job_archive_proto_rawDescOnce sync.Once
file_job_archive_proto_rawDescData = file_job_archive_proto_rawDesc
)
func file_job_archive_proto_rawDescGZIP() []byte {
file_job_archive_proto_rawDescOnce.Do(func() {
file_job_archive_proto_rawDescData = protoimpl.X.CompressGZIP(file_job_archive_proto_rawDescData)
})
return file_job_archive_proto_rawDescData
}
var file_job_archive_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_job_archive_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_job_archive_proto_goTypes = []interface{}{
(JobArchiveStep)(0), // 0: job_archive.JobArchiveStep
(*JobParamArchive)(nil), // 1: job_archive.JobParamArchive
(*JobArchiveNextParam)(nil), // 2: job_archive.JobArchiveNextParam
(*JobArchiveWaitForTapeParam)(nil), // 3: job_archive.JobArchiveWaitForTapeParam
(*JobArchiveCopyingParam)(nil), // 4: job_archive.JobArchiveCopyingParam
(*JobArchiveFinishedParam)(nil), // 5: job_archive.JobArchiveFinishedParam
(*JobStateArchive)(nil), // 6: job_archive.JobStateArchive
(*JobDisplayArchive)(nil), // 7: job_archive.JobDisplayArchive
(*Source)(nil), // 8: source.Source
(*SourceState)(nil), // 9: source.SourceState
}
var file_job_archive_proto_depIdxs = []int32{
8, // 0: job_archive.JobParamArchive.sources:type_name -> source.Source
3, // 1: job_archive.JobArchiveNextParam.WaitForTape:type_name -> job_archive.JobArchiveWaitForTapeParam
4, // 2: job_archive.JobArchiveNextParam.Copying:type_name -> job_archive.JobArchiveCopyingParam
5, // 3: job_archive.JobArchiveNextParam.Finished:type_name -> job_archive.JobArchiveFinishedParam
0, // 4: job_archive.JobStateArchive.step:type_name -> job_archive.JobArchiveStep
9, // 5: job_archive.JobStateArchive.sources:type_name -> source.SourceState
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_job_archive_proto_init() }
func file_job_archive_proto_init() {
if File_job_archive_proto != nil {
return
}
file_source_proto_init()
if !protoimpl.UnsafeEnabled {
file_job_archive_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobParamArchive); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_job_archive_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobArchiveNextParam); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_job_archive_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobArchiveWaitForTapeParam); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_job_archive_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobArchiveCopyingParam); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_job_archive_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobArchiveFinishedParam); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_job_archive_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobStateArchive); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_job_archive_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobDisplayArchive); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_job_archive_proto_msgTypes[1].OneofWrappers = []interface{}{
(*JobArchiveNextParam_WaitForTape)(nil),
(*JobArchiveNextParam_Copying)(nil),
(*JobArchiveNextParam_Finished)(nil),
}
file_job_archive_proto_msgTypes[6].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_job_archive_proto_rawDesc,
NumEnums: 1,
NumMessages: 7,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_job_archive_proto_goTypes,
DependencyIndexes: file_job_archive_proto_depIdxs,
EnumInfos: file_job_archive_proto_enumTypes,
MessageInfos: file_job_archive_proto_msgTypes,
}.Build()
File_job_archive_proto = out.File
file_job_archive_proto_rawDesc = nil
file_job_archive_proto_goTypes = nil
file_job_archive_proto_depIdxs = nil
}