mirror of https://github.com/etcd-io/dbtester.git
96 lines
3.9 KiB
Go
96 lines
3.9 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: dbtesterpb/database_id.proto
|
|
|
|
package dbtesterpb
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// DatabaseID differentiates between major or minor releases (possibly different APIs)
|
|
// of each database. Make sure to make accordingn changes in 'flag_*' whenever an ID
|
|
// is added/removed.
|
|
type DatabaseID int32
|
|
|
|
const (
|
|
DatabaseID_etcd__v2_3 DatabaseID = 0
|
|
DatabaseID_etcd__v3_1 DatabaseID = 1
|
|
DatabaseID_etcd__v3_2 DatabaseID = 2
|
|
DatabaseID_etcd__tip DatabaseID = 3
|
|
DatabaseID_zookeeper__r3_4_9 DatabaseID = 10
|
|
DatabaseID_zookeeper__r3_5_2_alpha DatabaseID = 11
|
|
DatabaseID_zookeeper__r3_5_3_beta DatabaseID = 12
|
|
DatabaseID_consul__v0_7_5 DatabaseID = 20
|
|
DatabaseID_consul__v0_8_0 DatabaseID = 21
|
|
DatabaseID_consul__v0_8_4 DatabaseID = 22
|
|
DatabaseID_zetcd__beta DatabaseID = 30
|
|
DatabaseID_cetcd__beta DatabaseID = 40
|
|
)
|
|
|
|
var DatabaseID_name = map[int32]string{
|
|
0: "etcd__v2_3",
|
|
1: "etcd__v3_1",
|
|
2: "etcd__v3_2",
|
|
3: "etcd__tip",
|
|
10: "zookeeper__r3_4_9",
|
|
11: "zookeeper__r3_5_2_alpha",
|
|
12: "zookeeper__r3_5_3_beta",
|
|
20: "consul__v0_7_5",
|
|
21: "consul__v0_8_0",
|
|
22: "consul__v0_8_4",
|
|
30: "zetcd__beta",
|
|
40: "cetcd__beta",
|
|
}
|
|
var DatabaseID_value = map[string]int32{
|
|
"etcd__v2_3": 0,
|
|
"etcd__v3_1": 1,
|
|
"etcd__v3_2": 2,
|
|
"etcd__tip": 3,
|
|
"zookeeper__r3_4_9": 10,
|
|
"zookeeper__r3_5_2_alpha": 11,
|
|
"zookeeper__r3_5_3_beta": 12,
|
|
"consul__v0_7_5": 20,
|
|
"consul__v0_8_0": 21,
|
|
"consul__v0_8_4": 22,
|
|
"zetcd__beta": 30,
|
|
"cetcd__beta": 40,
|
|
}
|
|
|
|
func (x DatabaseID) String() string {
|
|
return proto.EnumName(DatabaseID_name, int32(x))
|
|
}
|
|
func (DatabaseID) EnumDescriptor() ([]byte, []int) { return fileDescriptorDatabaseId, []int{0} }
|
|
|
|
func init() {
|
|
proto.RegisterEnum("dbtesterpb.DatabaseID", DatabaseID_name, DatabaseID_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("dbtesterpb/database_id.proto", fileDescriptorDatabaseId) }
|
|
|
|
var fileDescriptorDatabaseId = []byte{
|
|
// 263 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4e, 0xeb, 0x30,
|
|
0x10, 0x86, 0xe3, 0xf7, 0x24, 0x24, 0xa6, 0x50, 0x06, 0xab, 0x2d, 0x52, 0x41, 0x5e, 0x23, 0x24,
|
|
0x9a, 0x12, 0xb7, 0x02, 0xb6, 0xa8, 0x1b, 0x4e, 0x31, 0xb2, 0x13, 0x93, 0x46, 0x14, 0x6c, 0x25,
|
|
0x4e, 0x17, 0x3d, 0x09, 0x47, 0xea, 0x92, 0x23, 0x40, 0x38, 0x05, 0x3b, 0x84, 0x83, 0x44, 0x5b,
|
|
0x76, 0xfe, 0xbe, 0xdf, 0xf3, 0x6b, 0x34, 0x70, 0x96, 0x69, 0x6f, 0x2a, 0x6f, 0x4a, 0xa7, 0xe3,
|
|
0x4c, 0x79, 0xa5, 0x55,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