// Code generated by protoc-gen-go. DO NOT EDIT.
// source: code.justin.tv/release/trace/common/memcached/command.proto

/*
Package memcached is a generated protocol buffer package.

It is generated from these files:
	code.justin.tv/release/trace/common/memcached/command.proto

It has these top-level messages:
*/
package memcached

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package

type Command int32

const (
	// Default value - unset. Probably an administrative
	// command like STAT.
	Command_UNKNOWN_COMMAND Command = 0
	// Set means "store this data."
	Command_SET Command = 1
	// Add means "store this data, but only if the server
	// doesn't already have data for this key."
	Command_ADD Command = 2
	// Replace means "store this data, but only if the
	// server *does* have data for this key."
	Command_REPLACE Command = 3
	// Append means "add this data to an existing key
	// after existing data." Append does not come with an
	// expiration time.
	Command_APPEND Command = 4
	// Prepend means "add this data to an existing key
	// before existing data." Prepend does not come with
	// an expiration time.
	Command_PREPEND Command = 5
	// Compare-and-set means "Store this data, if and only
	// if no one else has updated since I last fetched
	// it."
	Command_CAS Command = 6
	// Get retrieves one or more keys. If no_reply is set
	// to true, then the server will not respond in the
	// case of cache misses, so it is the client's
	// responsibility to match up which requested keys
	// actually got a VALUE response if they ask for
	// multiple keys at once.
	Command_GET Command = 7
	// Gets is like Get, but asks for the cas_unique to be
	// sent along with the response.
	Command_GETS Command = 8
	// Delete forcibly removes a key.
	Command_DELETE Command = 9
	// Incr means "increment this key by this amount." The
	// server returns the new value of the key.
	Command_INCR Command = 10
	// Decr means "decrement this key by this amount." The
	// server returns the new value of the key.
	Command_DECR Command = 11
)

var Command_name = map[int32]string{
	0:  "UNKNOWN_COMMAND",
	1:  "SET",
	2:  "ADD",
	3:  "REPLACE",
	4:  "APPEND",
	5:  "PREPEND",
	6:  "CAS",
	7:  "GET",
	8:  "GETS",
	9:  "DELETE",
	10: "INCR",
	11: "DECR",
}
var Command_value = map[string]int32{
	"UNKNOWN_COMMAND": 0,
	"SET":             1,
	"ADD":             2,
	"REPLACE":         3,
	"APPEND":          4,
	"PREPEND":         5,
	"CAS":             6,
	"GET":             7,
	"GETS":            8,
	"DELETE":          9,
	"INCR":            10,
	"DECR":            11,
}

func (x Command) String() string {
	return proto.EnumName(Command_name, int32(x))
}
func (Command) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }

func init() {
	proto.RegisterEnum("code.justin.tv.release.trace.common.memcached.Command", Command_name, Command_value)
}

func init() {
	proto.RegisterFile("code.justin.tv/release/trace/common/memcached/command.proto", fileDescriptor0)
}

var fileDescriptor0 = []byte{
	// 229 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xc1, 0x4a, 0x03, 0x31,
	0x10, 0x86, 0xad, 0xad, 0xbb, 0xed, 0xec, 0xc1, 0x21, 0xbe, 0x85, 0x60, 0xf6, 0xe0, 0xd1, 0x53,
	0x4c, 0x86, 0x22, 0xb6, 0xe9, 0xb2, 0xbb, 0x22, 0x78, 0x91, 0x98, 0x0d, 0xa8, 0x98, 0x8d, 0x6c,
	0xa3, 0x0f, 0xe2, 0x13, 0x4b, 0x52, 0x29, 0x78, 0xfb, 0xe6, 0x9f, 0xf9, 0x86, 0x19, 0xb8, 0xb1,
	0x61, 0x70, 0xfc, 0xfd, 0x6b, 0x1f, 0xdf, 0x46, 0x1e, 0xbf, 0xeb, 0xc9, 0x7d, 0x38, 0xb3, 0x77,
	0x75, 0x9c, 0x8c, 0x75, 0xb5, 0x0d, 0xde, 0x87, 0xb1, 0xf6, 0xce, 0x5b, 0x63, 0x5f, 0xdd, 0x90,
	0x03, 0x33, 0x0e, 0xfc, 0x73, 0x0a, 0x31, 0xb0, 0xab, 0xff, 0x32, 0xff, 0x93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