// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v5.26.0 // source: progress.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 ProgressUnit int32 const ( ProgressUnit_PROGRESS_UNIT_UNSPECIFIED ProgressUnit = 0 ProgressUnit_PROGRESS_UNIT_ITEMS ProgressUnit = 1 ProgressUnit_PROGRESS_UNIT_BYTES ProgressUnit = 2 ) // Enum value maps for ProgressUnit. var ( ProgressUnit_name = map[int32]string{ 0: "PROGRESS_UNIT_UNSPECIFIED", 1: "PROGRESS_UNIT_ITEMS", 2: "PROGRESS_UNIT_BYTES", } ProgressUnit_value = map[string]int32{ "PROGRESS_UNIT_UNSPECIFIED": 0, "PROGRESS_UNIT_ITEMS": 1, "PROGRESS_UNIT_BYTES": 2, } ) func (x ProgressUnit) Enum() *ProgressUnit { p := new(ProgressUnit) *p = x return p } func (x ProgressUnit) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ProgressUnit) Descriptor() protoreflect.EnumDescriptor { return file_progress_proto_enumTypes[0].Descriptor() } func (ProgressUnit) Type() protoreflect.EnumType { return &file_progress_proto_enumTypes[0] } func (x ProgressUnit) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ProgressUnit.Descriptor instead. func (ProgressUnit) EnumDescriptor() ([]byte, []int) { return file_progress_proto_rawDescGZIP(), []int{0} } type EstimateState int32 const ( EstimateState_ESTIMATE_STATE_UNSPECIFIED EstimateState = 0 EstimateState_ESTIMATE_STATE_NOT_APPLICABLE EstimateState = 1 EstimateState_ESTIMATE_STATE_ESTIMATING EstimateState = 2 EstimateState_ESTIMATE_STATE_ESTIMATED EstimateState = 3 ) // Enum value maps for EstimateState. var ( EstimateState_name = map[int32]string{ 0: "ESTIMATE_STATE_UNSPECIFIED", 1: "ESTIMATE_STATE_NOT_APPLICABLE", 2: "ESTIMATE_STATE_ESTIMATING", 3: "ESTIMATE_STATE_ESTIMATED", } EstimateState_value = map[string]int32{ "ESTIMATE_STATE_UNSPECIFIED": 0, "ESTIMATE_STATE_NOT_APPLICABLE": 1, "ESTIMATE_STATE_ESTIMATING": 2, "ESTIMATE_STATE_ESTIMATED": 3, } ) func (x EstimateState) Enum() *EstimateState { p := new(EstimateState) *p = x return p } func (x EstimateState) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (EstimateState) Descriptor() protoreflect.EnumDescriptor { return file_progress_proto_enumTypes[1].Descriptor() } func (EstimateState) Type() protoreflect.EnumType { return &file_progress_proto_enumTypes[1] } func (x EstimateState) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use EstimateState.Descriptor instead. func (EstimateState) EnumDescriptor() ([]byte, []int) { return file_progress_proto_rawDescGZIP(), []int{1} } // An attempt/phase/range-consistent snapshot. Business outcomes remain separate. type StageProgress struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields WindowId string `protobuf:"bytes,1,opt,name=window_id,json=windowId,proto3" json:"window_id,omitempty"` Phase JobPhase `protobuf:"varint,2,opt,name=phase,proto3,enum=yatm.v1.JobPhase" json:"phase,omitempty"` Unit ProgressUnit `protobuf:"varint,3,opt,name=unit,proto3,enum=yatm.v1.ProgressUnit" json:"unit,omitempty"` Completed int64 `protobuf:"varint,4,opt,name=completed,proto3" json:"completed,omitempty"` Total *int64 `protobuf:"varint,5,opt,name=total,proto3,oneof" json:"total,omitempty"` RatePerSecond *float64 `protobuf:"fixed64,6,opt,name=rate_per_second,json=ratePerSecond,proto3,oneof" json:"rate_per_second,omitempty"` EstimateState EstimateState `protobuf:"varint,7,opt,name=estimate_state,json=estimateState,proto3,enum=yatm.v1.EstimateState" json:"estimate_state,omitempty"` RemainingSeconds *int64 `protobuf:"varint,8,opt,name=remaining_seconds,json=remainingSeconds,proto3,oneof" json:"remaining_seconds,omitempty"` } func (x *StageProgress) Reset() { *x = StageProgress{} if protoimpl.UnsafeEnabled { mi := &file_progress_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StageProgress) String() string { return protoimpl.X.MessageStringOf(x) } func (*StageProgress) ProtoMessage() {} func (x *StageProgress) ProtoReflect() protoreflect.Message { mi := &file_progress_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 StageProgress.ProtoReflect.Descriptor instead. func (*StageProgress) Descriptor() ([]byte, []int) { return file_progress_proto_rawDescGZIP(), []int{0} } func (x *StageProgress) GetWindowId() string { if x != nil { return x.WindowId } return "" } func (x *StageProgress) GetPhase() JobPhase { if x != nil { return x.Phase } return JobPhase_JOB_PHASE_UNSPECIFIED } func (x *StageProgress) GetUnit() ProgressUnit { if x != nil { return x.Unit } return ProgressUnit_PROGRESS_UNIT_UNSPECIFIED } func (x *StageProgress) GetCompleted() int64 { if x != nil { return x.Completed } return 0 } func (x *StageProgress) GetTotal() int64 { if x != nil && x.Total != nil { return *x.Total } return 0 } func (x *StageProgress) GetRatePerSecond() float64 { if x != nil && x.RatePerSecond != nil { return *x.RatePerSecond } return 0 } func (x *StageProgress) GetEstimateState() EstimateState { if x != nil { return x.EstimateState } return EstimateState_ESTIMATE_STATE_UNSPECIFIED } func (x *StageProgress) GetRemainingSeconds() int64 { if x != nil && x.RemainingSeconds != nil { return *x.RemainingSeconds } return 0 } type Progress 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"` CopiedFileCount int64 `protobuf:"varint,2,opt,name=copied_file_count,json=copiedFileCount,proto3" json:"copied_file_count,omitempty"` TotalBytes int64 `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` TotalFileCount int64 `protobuf:"varint,4,opt,name=total_file_count,json=totalFileCount,proto3" json:"total_file_count,omitempty"` SpeedBytesPerSecond int64 `protobuf:"varint,5,opt,name=speed_bytes_per_second,json=speedBytesPerSecond,proto3" json:"speed_bytes_per_second,omitempty"` StartedAtNs int64 `protobuf:"varint,6,opt,name=started_at_ns,json=startedAtNs,proto3" json:"started_at_ns,omitempty"` AverageSpeedBytesPerSecond int64 `protobuf:"varint,7,opt,name=average_speed_bytes_per_second,json=averageSpeedBytesPerSecond,proto3" json:"average_speed_bytes_per_second,omitempty"` HistoricalAverageSpeedBytesPerSecond int64 `protobuf:"varint,8,opt,name=historical_average_speed_bytes_per_second,json=historicalAverageSpeedBytesPerSecond,proto3" json:"historical_average_speed_bytes_per_second,omitempty"` TotalKnown bool `protobuf:"varint,9,opt,name=total_known,json=totalKnown,proto3" json:"total_known,omitempty"` // Latest execution attempt, excluding time waiting between attempts. Absent when unknown. ElapsedMs *int64 `protobuf:"varint,10,opt,name=elapsed_ms,json=elapsedMs,proto3,oneof" json:"elapsed_ms,omitempty"` Stage *StageProgress `protobuf:"bytes,12,opt,name=stage,proto3" json:"stage,omitempty"` } func (x *Progress) Reset() { *x = Progress{} if protoimpl.UnsafeEnabled { mi := &file_progress_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Progress) String() string { return protoimpl.X.MessageStringOf(x) } func (*Progress) ProtoMessage() {} func (x *Progress) ProtoReflect() protoreflect.Message { mi := &file_progress_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 Progress.ProtoReflect.Descriptor instead. func (*Progress) Descriptor() ([]byte, []int) { return file_progress_proto_rawDescGZIP(), []int{1} } func (x *Progress) GetCopiedBytes() int64 { if x != nil { return x.CopiedBytes } return 0 } func (x *Progress) GetCopiedFileCount() int64 { if x != nil { return x.CopiedFileCount } return 0 } func (x *Progress) GetTotalBytes() int64 { if x != nil { return x.TotalBytes } return 0 } func (x *Progress) GetTotalFileCount() int64 { if x != nil { return x.TotalFileCount } return 0 } func (x *Progress) GetSpeedBytesPerSecond() int64 { if x != nil { return x.SpeedBytesPerSecond } return 0 } func (x *Progress) GetStartedAtNs() int64 { if x != nil { return x.StartedAtNs } return 0 } func (x *Progress) GetAverageSpeedBytesPerSecond() int64 { if x != nil { return x.AverageSpeedBytesPerSecond } return 0 } func (x *Progress) GetHistoricalAverageSpeedBytesPerSecond() int64 { if x != nil { return x.HistoricalAverageSpeedBytesPerSecond } return 0 } func (x *Progress) GetTotalKnown() bool { if x != nil { return x.TotalKnown } return false } func (x *Progress) GetElapsedMs() int64 { if x != nil && x.ElapsedMs != nil { return *x.ElapsedMs } return 0 } func (x *Progress) GetStage() *StageProgress { if x != nil { return x.Stage } return nil } var File_progress_proto protoreflect.FileDescriptor var file_progress_proto_rawDesc = []byte{ 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x09, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x03, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x2b, 0x0a, 0x0f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x48, 0x01, 0x52, 0x0d, 0x72, 0x61, 0x74, 0x65, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3d, 0x0a, 0x0e, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48, 0x02, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x9c, 0x04, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 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, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 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, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x16, 0x73, 0x70, 0x65, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x73, 0x70, 0x65, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x4e, 0x73, 0x12, 0x42, 0x0a, 0x1e, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x57, 0x0a, 0x29, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x24, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x53, 0x70, 0x65, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x6d, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x4d, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x5f, 0x6d, 0x73, 0x2a, 0x5f, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x53, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x02, 0x2a, 0x8f, 0x01, 0x0a, 0x0d, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x53, 0x54, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x53, 0x54, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x53, 0x54, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x53, 0x54, 0x49, 0x4d, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x53, 0x54, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x53, 0x54, 0x49, 0x4d, 0x41, 0x54, 0x45, 0x44, 0x10, 0x03, 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_progress_proto_rawDescOnce sync.Once file_progress_proto_rawDescData = file_progress_proto_rawDesc ) func file_progress_proto_rawDescGZIP() []byte { file_progress_proto_rawDescOnce.Do(func() { file_progress_proto_rawDescData = protoimpl.X.CompressGZIP(file_progress_proto_rawDescData) }) return file_progress_proto_rawDescData } var file_progress_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_progress_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_progress_proto_goTypes = []interface{}{ (ProgressUnit)(0), // 0: yatm.v1.ProgressUnit (EstimateState)(0), // 1: yatm.v1.EstimateState (*StageProgress)(nil), // 2: yatm.v1.StageProgress (*Progress)(nil), // 3: yatm.v1.Progress (JobPhase)(0), // 4: yatm.v1.JobPhase } var file_progress_proto_depIdxs = []int32{ 4, // 0: yatm.v1.StageProgress.phase:type_name -> yatm.v1.JobPhase 0, // 1: yatm.v1.StageProgress.unit:type_name -> yatm.v1.ProgressUnit 1, // 2: yatm.v1.StageProgress.estimate_state:type_name -> yatm.v1.EstimateState 2, // 3: yatm.v1.Progress.stage:type_name -> yatm.v1.StageProgress 4, // [4:4] is the sub-list for method output_type 4, // [4:4] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name 4, // [4:4] is the sub-list for extension extendee 0, // [0:4] is the sub-list for field type_name } func init() { file_progress_proto_init() } func file_progress_proto_init() { if File_progress_proto != nil { return } file_job_proto_init() if !protoimpl.UnsafeEnabled { file_progress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StageProgress); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_progress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Progress); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_progress_proto_msgTypes[0].OneofWrappers = []interface{}{} file_progress_proto_msgTypes[1].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_progress_proto_rawDesc, NumEnums: 2, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_progress_proto_goTypes, DependencyIndexes: file_progress_proto_depIdxs, EnumInfos: file_progress_proto_enumTypes, MessageInfos: file_progress_proto_msgTypes, }.Build() File_progress_proto = out.File file_progress_proto_rawDesc = nil file_progress_proto_goTypes = nil file_progress_proto_depIdxs = nil }