// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: plm/v1/task_progress.proto

package plmv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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 TaskProgressMessage struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	RequestId         string                 `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	InstanceId        string                 `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	TaskId            string                 `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	AgentId           string                 `protobuf:"bytes,4,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	Message           string                 `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	ElapsedTime       int64                  `protobuf:"varint,6,opt,name=elapsed_time,json=elapsedTime,proto3" json:"elapsed_time,omitempty"`
	EstimatedTimeLeft int64                  `protobuf:"varint,7,opt,name=estimated_time_left,json=estimatedTimeLeft,proto3" json:"estimated_time_left,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *TaskProgressMessage) Reset() {
	*x = TaskProgressMessage{}
	mi := &file_plm_v1_task_progress_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TaskProgressMessage) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TaskProgressMessage) ProtoMessage() {}

func (x *TaskProgressMessage) ProtoReflect() protoreflect.Message {
	mi := &file_plm_v1_task_progress_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TaskProgressMessage.ProtoReflect.Descriptor instead.
func (*TaskProgressMessage) Descriptor() ([]byte, []int) {
	return file_plm_v1_task_progress_proto_rawDescGZIP(), []int{0}
}

func (x *TaskProgressMessage) GetRequestId() string {
	if x != nil {
		return x.RequestId
	}
	return ""
}

func (x *TaskProgressMessage) GetInstanceId() string {
	if x != nil {
		return x.InstanceId
	}
	return ""
}

func (x *TaskProgressMessage) GetTaskId() string {
	if x != nil {
		return x.TaskId
	}
	return ""
}

func (x *TaskProgressMessage) GetAgentId() string {
	if x != nil {
		return x.AgentId
	}
	return ""
}

func (x *TaskProgressMessage) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

func (x *TaskProgressMessage) GetElapsedTime() int64 {
	if x != nil {
		return x.ElapsedTime
	}
	return 0
}

func (x *TaskProgressMessage) GetEstimatedTimeLeft() int64 {
	if x != nil {
		return x.EstimatedTimeLeft
	}
	return 0
}

var File_plm_v1_task_progress_proto protoreflect.FileDescriptor

const file_plm_v1_task_progress_proto_rawDesc = "" +
	"\n" +
	"\x1aplm/v1/task_progress.proto\x12\x06plm.v1\"\xf6\x01\n" +
	"\x13TaskProgressMessage\x12\x1d\n" +
	"\n" +
	"request_id\x18\x01 \x01(\tR\trequestId\x12\x1f\n" +
	"\vinstance_id\x18\x02 \x01(\tR\n" +
	"instanceId\x12\x17\n" +
	"\atask_id\x18\x03 \x01(\tR\x06taskId\x12\x19\n" +
	"\bagent_id\x18\x04 \x01(\tR\aagentId\x12\x18\n" +
	"\amessage\x18\x05 \x01(\tR\amessage\x12!\n" +
	"\felapsed_time\x18\x06 \x01(\x03R\velapsedTime\x12.\n" +
	"\x13estimated_time_left\x18\a \x01(\x03R\x11estimatedTimeLeftB\x94\x01\n" +
	"\n" +
	"com.plm.v1B\x11TaskProgressProtoP\x01Z1github.com/cobotar/protocol/messages/plm/v1;plmv1\xa2\x02\x03PXX\xaa\x02\x0fMessages.Plm.V1\xca\x02\x06Plm\\V1\xe2\x02\x12Plm\\V1\\GPBMetadata\xea\x02\aPlm::V1b\x06proto3"

var (
	file_plm_v1_task_progress_proto_rawDescOnce sync.Once
	file_plm_v1_task_progress_proto_rawDescData []byte
)

func file_plm_v1_task_progress_proto_rawDescGZIP() []byte {
	file_plm_v1_task_progress_proto_rawDescOnce.Do(func() {
		file_plm_v1_task_progress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_plm_v1_task_progress_proto_rawDesc), len(file_plm_v1_task_progress_proto_rawDesc)))
	})
	return file_plm_v1_task_progress_proto_rawDescData
}

var file_plm_v1_task_progress_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_plm_v1_task_progress_proto_goTypes = []any{
	(*TaskProgressMessage)(nil), // 0: plm.v1.TaskProgressMessage
}
var file_plm_v1_task_progress_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_plm_v1_task_progress_proto_init() }
func file_plm_v1_task_progress_proto_init() {
	if File_plm_v1_task_progress_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_plm_v1_task_progress_proto_rawDesc), len(file_plm_v1_task_progress_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_plm_v1_task_progress_proto_goTypes,
		DependencyIndexes: file_plm_v1_task_progress_proto_depIdxs,
		MessageInfos:      file_plm_v1_task_progress_proto_msgTypes,
	}.Build()
	File_plm_v1_task_progress_proto = out.File
	file_plm_v1_task_progress_proto_goTypes = nil
	file_plm_v1_task_progress_proto_depIdxs = nil
}
