Files
yatm/entity/job_archive.pb.go
2023-10-12 22:54:07 +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_WAIT_FOR_TAPE JobArchiveStep = 1
JobArchiveStep_COPYING JobArchiveStep = 2
JobArchiveStep_FINISHED JobArchiveStep = 255
)
// Enum value maps for JobArchiveStep.
var (
JobArchiveStep_name = map[int32]string{
0: "PENDING",
1: "WAIT_FOR_TAPE",
2: "COPYING",
255: "FINISHED",
}
JobArchiveStep_value = map[string]int32{
"PENDING": 0,
"WAIT_FOR_TAPE": 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 JobArchiveParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
}
func (x *JobArchiveParam) Reset() {
*x = JobArchiveParam{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveParam) ProtoMessage() {}
func (x *JobArchiveParam) 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 JobArchiveParam.ProtoReflect.Descriptor instead.
func (*JobArchiveParam) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{0}
}
func (x *JobArchiveParam) GetSources() []*Source {
if x != nil {
return x.Sources
}
return nil
}
type JobArchiveDispatchParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Param:
// *JobArchiveDispatchParam_WaitForTape
// *JobArchiveDispatchParam_Copying
// *JobArchiveDispatchParam_Finished
Param isJobArchiveDispatchParam_Param `protobuf_oneof:"param"`
}
func (x *JobArchiveDispatchParam) Reset() {
*x = JobArchiveDispatchParam{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveDispatchParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveDispatchParam) ProtoMessage() {}
func (x *JobArchiveDispatchParam) 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 JobArchiveDispatchParam.ProtoReflect.Descriptor instead.
func (*JobArchiveDispatchParam) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{1}
}
func (m *JobArchiveDispatchParam) GetParam() isJobArchiveDispatchParam_Param {
if m != nil {
return m.Param
}
return nil
}
func (x *JobArchiveDispatchParam) GetWaitForTape() *JobArchiveWaitForTapeParam {
if x, ok := x.GetParam().(*JobArchiveDispatchParam_WaitForTape); ok {
return x.WaitForTape
}
return nil
}
func (x *JobArchiveDispatchParam) GetCopying() *JobArchiveCopyingParam {
if x, ok := x.GetParam().(*JobArchiveDispatchParam_Copying); ok {
return x.Copying
}
return nil
}
func (x *JobArchiveDispatchParam) GetFinished() *JobArchiveFinishedParam {
if x, ok := x.GetParam().(*JobArchiveDispatchParam_Finished); ok {
return x.Finished
}
return nil
}
type isJobArchiveDispatchParam_Param interface {
isJobArchiveDispatchParam_Param()
}
type JobArchiveDispatchParam_WaitForTape struct {
WaitForTape *JobArchiveWaitForTapeParam `protobuf:"bytes,1,opt,name=wait_for_tape,json=waitForTape,proto3,oneof"`
}
type JobArchiveDispatchParam_Copying struct {
Copying *JobArchiveCopyingParam `protobuf:"bytes,2,opt,name=copying,proto3,oneof"`
}
type JobArchiveDispatchParam_Finished struct {
Finished *JobArchiveFinishedParam `protobuf:"bytes,255,opt,name=finished,proto3,oneof"`
}
func (*JobArchiveDispatchParam_WaitForTape) isJobArchiveDispatchParam_Param() {}
func (*JobArchiveDispatchParam_Copying) isJobArchiveDispatchParam_Param() {}
func (*JobArchiveDispatchParam_Finished) isJobArchiveDispatchParam_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 JobArchiveState 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 *JobArchiveState) Reset() {
*x = JobArchiveState{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveState) ProtoMessage() {}
func (x *JobArchiveState) 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 JobArchiveState.ProtoReflect.Descriptor instead.
func (*JobArchiveState) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{5}
}
func (x *JobArchiveState) GetStep() JobArchiveStep {
if x != nil {
return x.Step
}
return JobArchiveStep_PENDING
}
func (x *JobArchiveState) GetSources() []*SourceState {
if x != nil {
return x.Sources
}
return nil
}
type JobArchiveDisplay struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CopiedBytes int64 `protobuf:"varint,1,opt,name=copied_bytes,json=copiedBytes,proto3" json:"copied_bytes,omitempty"`
CopiedFiles int64 `protobuf:"varint,2,opt,name=copied_files,json=copiedFiles,proto3" json:"copied_files,omitempty"`
TotalBytes int64 `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
TotalFiles int64 `protobuf:"varint,4,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
Speed *int64 `protobuf:"varint,5,opt,name=speed,proto3,oneof" json:"speed,omitempty"`
StartTime int64 `protobuf:"varint,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
}
func (x *JobArchiveDisplay) Reset() {
*x = JobArchiveDisplay{}
if protoimpl.UnsafeEnabled {
mi := &file_job_archive_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobArchiveDisplay) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobArchiveDisplay) ProtoMessage() {}
func (x *JobArchiveDisplay) 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 JobArchiveDisplay.ProtoReflect.Descriptor instead.
func (*JobArchiveDisplay) Descriptor() ([]byte, []int) {
return file_job_archive_proto_rawDescGZIP(), []int{6}
}
func (x *JobArchiveDisplay) GetCopiedBytes() int64 {
if x != nil {
return x.CopiedBytes
}
return 0
}
func (x *JobArchiveDisplay) GetCopiedFiles() int64 {
if x != nil {
return x.CopiedFiles
}
return 0
}
func (x *JobArchiveDisplay) GetTotalBytes() int64 {
if x != nil {
return x.TotalBytes
}
return 0
}
func (x *JobArchiveDisplay) GetTotalFiles() int64 {
if x != nil {
return x.TotalFiles
}
return 0
}
func (x *JobArchiveDisplay) GetSpeed() int64 {
if x != nil && x.Speed != nil {
return *x.Speed
}
return 0
}
func (x *JobArchiveDisplay) 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, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x50, 0x61, 0x72, 0x61,
0x6d, 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, 0xf7, 0x01, 0x0a, 0x17,
0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74,
0x63, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x4d, 0x0a, 0x0d, 0x77, 0x61, 0x69, 0x74, 0x5f,
0x66, 0x6f, 0x72, 0x5f, 0x74, 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, 0x77, 0x61, 0x69, 0x74, 0x46,
0x6f, 0x72, 0x54, 0x61, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x63, 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,
0x63, 0x6f, 0x70, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x43, 0x0a, 0x08, 0x66, 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, 0x66, 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, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74,
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, 0xdf, 0x01, 0x0a, 0x11, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65,
0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x70, 0x69, 0x65,
0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63,
0x6f, 0x70, 0x69, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f,
0x70, 0x69, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0b, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a,
0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f,
0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x66, 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, 0x1d, 0x0a, 0x0a, 0x73, 0x74,
0x61, 0x72, 0x74, 0x5f, 0x74, 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, 0x4c, 0x0a, 0x0e, 0x4a, 0x6f, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76,
0x65, 0x53, 0x74, 0x65, 0x70, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47,
0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x54,
0x41, 0x50, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x50, 0x59, 0x49, 0x4e, 0x47,
0x10, 0x02, 0x12, 0x0d, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0xff,
0x01, 0x42, 0x23, 0x5a, 0x21, 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, 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
(*JobArchiveParam)(nil), // 1: job_archive.JobArchiveParam
(*JobArchiveDispatchParam)(nil), // 2: job_archive.JobArchiveDispatchParam
(*JobArchiveWaitForTapeParam)(nil), // 3: job_archive.JobArchiveWaitForTapeParam
(*JobArchiveCopyingParam)(nil), // 4: job_archive.JobArchiveCopyingParam
(*JobArchiveFinishedParam)(nil), // 5: job_archive.JobArchiveFinishedParam
(*JobArchiveState)(nil), // 6: job_archive.JobArchiveState
(*JobArchiveDisplay)(nil), // 7: job_archive.JobArchiveDisplay
(*Source)(nil), // 8: source.Source
(*SourceState)(nil), // 9: source.SourceState
}
var file_job_archive_proto_depIdxs = []int32{
8, // 0: job_archive.JobArchiveParam.sources:type_name -> source.Source
3, // 1: job_archive.JobArchiveDispatchParam.wait_for_tape:type_name -> job_archive.JobArchiveWaitForTapeParam
4, // 2: job_archive.JobArchiveDispatchParam.copying:type_name -> job_archive.JobArchiveCopyingParam
5, // 3: job_archive.JobArchiveDispatchParam.finished:type_name -> job_archive.JobArchiveFinishedParam
0, // 4: job_archive.JobArchiveState.step:type_name -> job_archive.JobArchiveStep
9, // 5: job_archive.JobArchiveState.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.(*JobArchiveParam); 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.(*JobArchiveDispatchParam); 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.(*JobArchiveState); 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.(*JobArchiveDisplay); 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{}{
(*JobArchiveDispatchParam_WaitForTape)(nil),
(*JobArchiveDispatchParam_Copying)(nil),
(*JobArchiveDispatchParam_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
}