mirror of https://github.com/etcd-io/dbtester.git
90 lines
3.6 KiB
Go
90 lines
3.6 KiB
Go
// Code generated by protoc-gen-gogo.
|
|
// source: dbtesterpb/database_id.proto
|
|
// DO NOT EDIT!
|
|
|
|
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_consul__v0_7_5 DatabaseID = 20
|
|
DatabaseID_consul__v0_8_0 DatabaseID = 21
|
|
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",
|
|
20: "consul__v0_7_5",
|
|
21: "consul__v0_8_0",
|
|
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,
|
|
"consul__v0_7_5": 20,
|
|
"consul__v0_8_0": 21,
|
|
"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{
|
|
// 245 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0xcf, 0x4a, 0xc3, 0x40,
|
|
0x10, 0x87, 0xb3, 0x0a, 0x82, 0x53, 0xac, 0xe3, 0xd2, 0x22, 0xa8, 0xec, 0x59, 0x04, 0x9b, 0x9a,
|
|
0x58, 0xd4, 0xab, 0xf4, 0xe2, 0x53, 0x0c, 0xbb, 0xc9, 0x9a, 0x06, 0xab, 0xbb, 0x24, 0x93, 0x1e,
|
|
0xfa, 0x24, 0x3e, 0x52, 0xbd, 0xf9, 0x08, 0x1a, 0x5f, 0x44, 0xdc, 0x08, 0x36, 0xde, 0xe6, 0xfb,
|
|
0xe6, 0x1f, 0x3f, 0x38, 0xcb, 0x0d, 0xdb, 0x9a, 0x6d, 0xe5, 0x4d, 0x9c, 0x6b, 0xd6, 0x46, 0xd7,
|
|
0x96, 0xca, 0x7c, 0xe2, 0x2b, 0xc7, 0x4e, 0xc2, 0x5f, 0xf7, 0xe4, 0xb2, 0x28, 0x79, 0xd1, 0x98,
|
|
0x49, 0xe6, 0x9e, 0xe3, 0xc2, 0x15, 0x2e, 0x0e, 0x23, 0xa6, 0x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