func (*Task) Descriptor() ([]byte, []int) {
	return file_entroq_proto_rawDescGZIP(), []int{3}
}
Deprecated: Use Task.ProtoReflect.Descriptor instead.
package proto
import (
	proto "github.com/golang/protobuf/proto"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)
const (
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
const _ = proto.ProtoPackageIsVersion4
type ActionType int32
const (
	ActionType_CLAIM  ActionType = 0
	ActionType_DELETE ActionType = 1
	ActionType_CHANGE ActionType = 2
	ActionType_DEPEND ActionType = 3
	ActionType_DETAIL ActionType = 4
	ActionType_INSERT ActionType = 5
	ActionType_READ   ActionType = 6
)
var (
	ActionType_name = map[int32]string{
		0: "CLAIM",
		1: "DELETE",
		2: "CHANGE",
		3: "DEPEND",
		4: "DETAIL",
		5: "INSERT",
		6: "READ",
	}
	ActionType_value = map[string]int32{
		"CLAIM":  0,
		"DELETE": 1,
		"CHANGE": 2,
		"DEPEND": 3,
		"DETAIL": 4,
		"INSERT": 5,
		"READ":   6,
	}
)
func (x ActionType) Enum() *ActionType {
	p := new(ActionType)
	*p = x
	return p
}
func (x ActionType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ActionType) Descriptor() protoreflect.EnumDescriptor {
	return file_entroq_proto_enumTypes[0].Descriptor()
}
func (ActionType) Type() protoreflect.EnumType {
	return &file_entroq_proto_enumTypes[0]
}
func (x ActionType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (ActionType) EnumDescriptor() ([]byte, []int) {
	return file_entroq_proto_rawDescGZIP(), []int{0}
}
type TaskID struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version int32  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Queue string `protobuf:"bytes,3,opt,name=queue,proto3" json:"queue,omitempty"`
}
func (x *TaskID) Reset() {
	*x = TaskID{}
	if protoimpl.UnsafeEnabled {
		mi := &file_entroq_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *TaskID) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*TaskID) ProtoMessage() {}
func (x *TaskID) ProtoReflect() protoreflect.Message {
	mi := &file_entroq_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)
}
func (*TaskID) Descriptor() ([]byte, []int) {
	return file_entroq_proto_rawDescGZIP(), []int{0}
}
func (x *TaskID) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}
func (x *TaskID) GetVersion() int32 {
	if x != nil {
		return x.Version
	}
	return 0
}
func (x *TaskID) GetQueue() string {
	if x != nil {
		return x.Queue
	}
	return ""
}
type TaskData struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Queue string `protobuf:"bytes,1,opt,name=queue,proto3" json:"queue,omitempty"`
	AtMs int64 `protobuf:"varint,2,opt,name=at_ms,json=atMs,proto3" json:"at_ms,omitempty"`
	Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	Attempt int32  `protobuf:"varint,5,opt,name=attempt,proto3" json:"attempt,omitempty"`
	Err     string `protobuf:"bytes,6,opt,name=err,proto3" json:"err,omitempty"`
}
func (x *TaskData) Reset() {
	*x = TaskData{}
	if protoimpl.UnsafeEnabled {
		mi := &file_entroq_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *TaskData) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*TaskData) ProtoMessage() {}
func (x *TaskData) ProtoReflect() protoreflect.Message {
	mi := &file_entroq_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)
}
func (*TaskData) Descriptor() ([]byte, []int) {
	return file_entroq_proto_rawDescGZIP(), []int{1}
}
func (x *TaskData) GetQueue() string {
	if x != nil {
		return x.Queue
	}
	return ""
}
func (x *TaskData) GetAtMs() int64 {
	if x != nil {
		return x.AtMs
	}
	return 0
}
func (x *TaskData) GetValue() []byte {
	if x != nil {
		return x.Value
	}
	return nil
}
func (x *TaskData) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}
func (x *TaskData) GetAttempt() int32 {
	if x != nil {
		return x.Attempt
	}
	return 0
}
func (x *TaskData) GetErr() string {
	if x != nil {
		return x.Err
	}
	return ""
}
type TaskChange struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	OldId   *TaskID   `protobuf:"bytes,1,opt,name=old_id,json=oldId,proto3" json:"old_id,omitempty"`
	NewData *TaskData `protobuf:"bytes,2,opt,name=new_data,json=newData,proto3" json:"new_data,omitempty"`
}
func (x *TaskChange) Reset() {
	*x = TaskChange{}
	if protoimpl.UnsafeEnabled {
		mi := &file_entroq_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *TaskChange) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*TaskChange) ProtoMessage() {}
func (x *TaskChange) ProtoReflect() protoreflect.Message {
	mi := &file_entroq_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)
}
func (*TaskChange) Descriptor() ([]byte, []int) {
	return file_entroq_proto_rawDescGZIP(), []int{2}
}
func (x *TaskChange) GetOldId() *TaskID {
	if x != nil {
		return x.OldId
	}
	return nil
}
func (x *TaskChange) GetNewData() *TaskData {
	if x != nil {
		return x.NewData
	}
	return nil
}
type Task struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Queue   string `protobuf:"bytes,1,opt,name=queue,proto3" json:"queue,omitempty"`
	Id      string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Version int32  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	AtMs int64 `protobuf:"varint,4,opt,name=at_ms,json=atMs,proto3" json:"at_ms,omitempty"`
	ClaimantId string `protobuf:"bytes,5,opt,name=claimant_id,json=claimantId,proto3" json:"claimant_id,omitempty"`
	Value []byte `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	CreatedMs  int64 `protobuf:"varint,7,opt,name=created_ms,json=createdMs,proto3" json:"created_ms,omitempty"`
	ModifiedMs int64 `protobuf:"varint,8,opt,name=modified_ms,json=modifiedMs,proto3" json:"modified_ms,omitempty"`
	Claims int32 `protobuf:"varint,9,opt,name=claims,proto3" json:"claims,omitempty"`
	Attempt int32  `protobuf:"varint,10,opt,name=attempt,proto3" json:"attempt,omitempty"`
	Err     string `protobuf:"bytes,11,opt,name=err,proto3" json:"err,omitempty"`
}
func (x *Task) Reset() {
	*x = Task{}
	if protoimpl.UnsafeEnabled {
		mi := &file_entroq_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *Task) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*Task) ProtoMessage() {}
func (x *Task) ProtoReflect() protoreflect.Message {
	mi := &file_entroq_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)
}