// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: uber/cadence/shared/v1/tasklist.proto

package sharedv1

import (
	fmt "fmt"
	math "math"

	proto "github.com/gogo/protobuf/proto"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package

// TaskSource is the source from which a task was produced.
type TaskSource int32

const (
	TaskSource_TASK_SOURCE_INVALID TaskSource = 0
	// Task produced by history service.
	TaskSource_TASK_SOURCE_HISTORY TaskSource = 1
	// Task produced from matching db backlog.
	TaskSource_TASK_SOURCE_DB_BACKLOG TaskSource = 2
)

var TaskSource_name = map[int32]string{
	0: "TASK_SOURCE_INVALID",
	1: "TASK_SOURCE_HISTORY",
	2: "TASK_SOURCE_DB_BACKLOG",
}

var TaskSource_value = map[string]int32{
	"TASK_SOURCE_INVALID":    0,
	"TASK_SOURCE_HISTORY":    1,
	"TASK_SOURCE_DB_BACKLOG": 2,
}

func (x TaskSource) String() string {
	return proto.EnumName(TaskSource_name, int32(x))
}

func (TaskSource) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_e97215b1a3d16713, []int{0}
}

func init() {
	proto.RegisterEnum("uber.cadence.shared.v1.TaskSource", TaskSource_name, TaskSource_value)
}

func init() {
	proto.RegisterFile("uber/cadence/shared/v1/tasklist.proto", fileDescriptor_e97215b1a3d16713)
}

var fileDescriptor_e97215b1a3d16713 = []byte{
	// 193 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2d, 0x4d, 0x4a, 0x2d,
	0xd2, 0x4f, 0x4e, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0x2f, 0xce, 0x48, 0x2c, 0x4a, 0x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