// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: store/types/store.proto

package types

import (
	fmt "fmt"
	proto "github.com/cosmos/gogoproto/proto"
	math "math"
)

// 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

type TaskState int32

const (
	TaskState_TASK_STATE_INIT_UNSPECIFIED       TaskState = 0
	TaskState_TASK_STATE_UPLOAD_OBJECT_DOING    TaskState = 1
	TaskState_TASK_STATE_UPLOAD_OBJECT_DONE     TaskState = 2
	TaskState_TASK_STATE_UPLOAD_OBJECT_ERROR    TaskState = 3
	TaskState_TASK_STATE_ALLOC_SECONDARY_DOING  TaskState = 4
	TaskState_TASK_STATE_ALLOC_SECONDARY_DONE   TaskState = 5
	TaskState_TASK_STATE_ALLOC_SECONDARY_ERROR  TaskState = 6
	TaskState_TASK_STATE_REPLICATE_OBJECT_DOING TaskState = 7
	TaskState_TASK_STATE_REPLICATE_OBJECT_DONE  TaskState = 8
	TaskState_TASK_STATE_REPLICATE_OBJECT_ERROR TaskState = 9
	TaskState_TASK_STATE_SIGN_OBJECT_DOING      TaskState = 10
	TaskState_TASK_STATE_SIGN_OBJECT_DONE       TaskState = 11
	TaskState_TASK_STATE_SIGN_OBJECT_ERROR      TaskState = 12
	TaskState_TASK_STATE_SEAL_OBJECT_DOING      TaskState = 13
	TaskState_TASK_STATE_SEAL_OBJECT_DONE       TaskState = 14
	TaskState_TASK_STATE_SEAL_OBJECT_ERROR      TaskState = 15
	TaskState_TASK_STATE_OBJECT_DISCONTINUED    TaskState = 16
)

var TaskState_name = map[int32]string{
	0:  "TASK_STATE_INIT_UNSPECIFIED",
	1:  "TASK_STATE_UPLOAD_OBJECT_DOING",
	2:  "TASK_STATE_UPLOAD_OBJECT_DONE",
	3:  "TASK_STATE_UPLOAD_OBJECT_ERROR",
	4:  "TASK_STATE_ALLOC_SECONDARY_DOING",
	5:  "TASK_STATE_ALLOC_SECONDARY_DONE",
	6:  "TASK_STATE_ALLOC_SECONDARY_ERROR",
	7:  "TASK_STATE_REPLICATE_OBJECT_DOING",
	8:  "TASK_STATE_REPLICATE_OBJECT_DONE",
	9:  "TASK_STATE_REPLICATE_OBJECT_ERROR",
	10: "TASK_STATE_SIGN_OBJECT_DOING",
	11: "TASK_STATE_SIGN_OBJECT_DONE",
	12: "TASK_STATE_SIGN_OBJECT_ERROR",
	13: "TASK_STATE_SEAL_OBJECT_DOING",
	14: "TASK_STATE_SEAL_OBJECT_DONE",
	15: "TASK_STATE_SEAL_OBJECT_ERROR",
	16: "TASK_STATE_OBJECT_DISCONTINUED",
}

var TaskState_value = map[string]int32{
	"TASK_STATE_INIT_UNSPECIFIED":       0,
	"TASK_STATE_UPLOAD_OBJECT_DOING":    1,
	"TASK_STATE_UPLOAD_OBJECT_DONE":     2,
	"TASK_STATE_UPLOAD_OBJECT_ERROR":    3,
	"TASK_STATE_ALLOC_SECONDARY_DOING":  4,
	"TASK_STATE_ALLOC_SECONDARY_DONE":   5,
	"TASK_STATE_ALLOC_SECONDARY_ERROR":  6,
	"TASK_STATE_REPLICATE_OBJECT_DOING": 7,
	"TASK_STATE_REPLICATE_OBJECT_DONE":  8,
	"TASK_STATE_REPLICATE_OBJECT_ERROR": 9,
	"TASK_STATE_SIGN_OBJECT_DOING":      10,
	"TASK_STATE_SIGN_OBJECT_DONE":       11,
	"TASK_STATE_SIGN_OBJECT_ERROR":      12,
	"TASK_STATE_SEAL_OBJECT_DOING":      13,
	"TASK_STATE_SEAL_OBJECT_DONE":       14,
	"TASK_STATE_SEAL_OBJECT_ERROR":      15,
	"TASK_STATE_OBJECT_DISCONTINUED":    16,
}

func (x TaskState) String() string {
	return proto.EnumName(TaskState_name, int32(x))
}

func (TaskState) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_adc82498be3fc479, []int{0}
}

type BucketMigrationState int32

const (
	BucketMigrationState_BUCKET_MIGRATION_STATE_INIT_UNSPECIFIED BucketMigrationState = 0
	// produced execute plan and pre deduct quota
	BucketMigrationState_BUCKET_MIGRATION_STATE_SRC_SP_PRE_DEDUCT_QUOTA_DONE  BucketMigrationState = 1
	BucketMigrationState_BUCKET_MIGRATION_STATE_DEST_SP_PRE_DEDUCT_QUOTA_DONE BucketMigrationState = 2
	// migrating gvg task
	BucketMigrationState_BUCKET_MIGRATION_STATE_MIGRATE_GVG_DOING       BucketMigrationState = 5
	BucketMigrationState_BUCKET_MIGRATION_STATE_MIGRATE_GVG_DONE        BucketMigrationState = 6
	BucketMigrationState_BUCKET_MIGRATION_STATE_MIGRATE_QUOTA_INFO_DONE BucketMigrationState = 7
	// confirm tx
	BucketMigrationState_BUCKET_MIGRATION_STATE_SEND_COMPLETE_TX_DONE       BucketMigrationState = 10
	BucketMigrationState_BUCKET_MIGRATION_STATE_WAIT_COMPLETE_TX_EVENT_DONE BucketMigrationState = 11
	BucketMigrationState_BUCKET_MIGRATION_STATE_SEND_REJECT_TX_DONE         BucketMigrationState = 12
	BucketMigrationState_BUCKET_MIGRATION_STATE_WAIT_REJECT_TX_EVENT_DONE   BucketMigrationState = 13
	BucketMigrationState_BUCKET_MIGRATION_STATE_WAIT_CANCEL_TX_EVENT_DONE   BucketMigrationState = 14
	// gc
	BucketMigrationState_BUCKET_MIGRATION_STATE_SRC_SP_GC_DOING    BucketMigrationState = 20
	BucketMigrationState_BUCKET_MIGRATION_STATE_DEST_SP_GC_DOING   BucketMigrationState = 21
	BucketMigrationState_BUCKET_MIGRATION_STATE_POST_SRC_SP_DONE   BucketMigrationState = 30
	BucketMigrationState_BUCKET_MIGRATION_STATE_MIGRATION_FINISHED BucketMigrationState = 31
)

var BucketMigrationState_name = map[int32]string{
	0:  "BUCKET_MIGRATION_STATE_INIT_UNSPECIFIED",
	1:  "BUCKET_MIGRATION_STATE_SRC_SP_PRE_DEDUCT_QUOTA_DONE",
	2:  "BUCKET_MIGRATION_STATE_DEST_SP_PRE_DEDUCT_QUOTA_DONE",
	5:  "BUCKET_MIGRATION_STATE_MIGRATE_GVG_DOING",
	6:  "BUCKET_MIGRATION_STATE_MIGRATE_GVG_DONE",
	7:  "BUCKET_MIGRATION_STATE_MIGRATE_QUOTA_INFO_DONE",
	10: "BUCKET_MIGRATION_STATE_SEND_COMPLETE_TX_DONE",
	11: "BUCKET_MIGRATION_STATE_WAIT_COMPLETE_TX_EVENT_DONE",
	12: "BUCKET_MIGRATION_STATE_SEND_REJECT_TX_DONE",
	13: "BUCKET_MIGRATION_STATE_WAIT_REJECT_TX_EVENT_DONE",
	14: "BUCKET_MIGRATION_STATE_WAIT_CANCEL_TX_EVENT_DONE",
	20: "BUCKET_MIGRATION_STATE_SRC_SP_GC_DOING",
	21: "BUCKET_MIGRATION_STATE_DEST_SP_GC_DOING",
	30: "BUCKET_MIGRATION_STATE_POST_SRC_SP_DONE",
	31: "BUCKET_MIGRATION_STATE_MIGRATION_FINISHED",
}

var BucketMigrationState_value = map[string]int32{
	"BUCKET_MIGRATION_STATE_INIT_UNSPECIFIED":              0,
	"BUCKET_MIGRATION_STATE_SRC_SP_PRE_DEDUCT_QUOTA_DONE":  1,
	"BUCKET_MIGRATION_STATE_DEST_SP_PRE_DEDUCT_QUOTA_DONE": 2,
	"BUCKET_MIGRATION_STATE_MIGRATE_GVG_DOING":             5,
	"BUCKET_MIGRATION_STATE_MIGRATE_GVG_DONE":              6,
	"BUCKET_MIGRATION_STATE_MIGRATE_QUOTA_INFO_DONE":       7,
	"BUCKET_MIGRATION_STATE_SEND_COMPLETE_TX_DONE":         10,
	"BUCKET_MIGRATION_STATE_WAIT_COMPLETE_TX_EVENT_DONE":   11,
	"BUCKET_MIGRATION_STATE_SEND_REJECT_TX_DONE":           12,
	"BUCKET_MIGRATION_STATE_WAIT_REJECT_TX_EVENT_DONE":     13,
	"BUCKET_MIGRATION_STATE_WAIT_CANCEL_TX_EVENT_DONE":     14,
	"BUCKET_MIGRATION_STATE_SRC_SP_GC_DOING":               20,
	"BUCKET_MIGRATION_STATE_DEST_SP_GC_DOING":              21,
	"BUCKET_MIGRATION_STATE_POST_SRC_SP_DONE":              30,
	"BUCKET_MIGRATION_STATE_MIGRATION_FINISHED":            31,
}

func (x BucketMigrationState) String() string {
	return proto.EnumName(BucketMigrationState_name, int32(x))
}

func (BucketMigrationState) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_adc82498be3fc479, []int{1}
}

func init() {
	proto.RegisterEnum("store.types.TaskState", TaskState_name, TaskState_value)
	proto.RegisterEnum("store.types.BucketMigrationState", BucketMigrationState_name, BucketMigrationState_value)
}

func init() { proto.RegisterFile("store/types/store.proto", fileDescriptor_adc82498be3fc479) }

var fileDescriptor_adc82498be3fc479 = []byte{
	// 586 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x4d, 0x53, 0xd3, 0x40,
	0x1c, 0xc6, 0x5b, 0x84, 0x22, 0xcb, 0x8b, 0x3b, 0x3b, 0x38, 0x1e, 0xd4, 0x00, 0xbe, 0x5b, 0x69,
	0xcb, 0x00, 0xa3, 0x1e, 0xbc, 0xa4, 0x9b, 0x3f, 0x75, 0x25, 0xec, 0xc6, 0x64, 0x8b, 0x2f, 0x97,
	0x9d, 0x16, 0x62, 0xe9, 0xa0, 0x0d, 0x13, 0x82, 0x33, 0xde, 0xfc, 0x08, 0x7e, 0x2c, 0x8f, 0x1c,
	0x3d, 0x3a, 0x70, 0xf3, 0x53, 0x38, 0xed, 0x02, 0x26, 0x19, 0xb3, 0xbd, 0x65, 0x27, 0xbf, 0xe7,
	0x79, 0x76, 0xf7, 0xf9, 0xcf, 0xa2, 0x5b, 0xc7, 0x49, 0x14, 0x87, 0x8d, 0xe4, 0xdb, 0x51, 0x78,
	0xdc, 0x18, 0x7d, 0xd7, 0x8f, 0xe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