proto/dolt/services/eventsapi: Adopt the version of eventsapi that lives in ld repo instead of here.

This commit is contained in:
Aaron Son
2019-10-16 12:34:36 -07:00
parent cceb20a9a4
commit e1d48af725
5 changed files with 505 additions and 392 deletions
@@ -6,14 +6,13 @@ package eventsapi
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -27,247 +26,6 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Platform int32
const (
Platform_PLATFORM_UNSPECIFIED Platform = 0
Platform_LINUX Platform = 1
Platform_WINDOWS Platform = 2
Platform_DARWIN Platform = 3
)
var Platform_name = map[int32]string{
0: "PLATFORM_UNSPECIFIED",
1: "LINUX",
2: "WINDOWS",
3: "DARWIN",
}
var Platform_value = map[string]int32{
"PLATFORM_UNSPECIFIED": 0,
"LINUX": 1,
"WINDOWS": 2,
"DARWIN": 3,
}
func (x Platform) String() string {
return proto.EnumName(Platform_name, int32(x))
}
func (Platform) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_2059ca7f76f8dca6, []int{0}
}
type ClientEventType int32
const (
ClientEventType_TYPE_UNSPECIFIED ClientEventType = 0
ClientEventType_INIT ClientEventType = 1
ClientEventType_STATUS ClientEventType = 2
ClientEventType_ADD ClientEventType = 3
ClientEventType_RESET ClientEventType = 4
ClientEventType_COMMIT ClientEventType = 5
ClientEventType_SQL ClientEventType = 6
ClientEventType_SQL_SERVER ClientEventType = 7
ClientEventType_LOG ClientEventType = 8
ClientEventType_DIFF ClientEventType = 9
ClientEventType_MERGE ClientEventType = 10
ClientEventType_BRANCH ClientEventType = 11
ClientEventType_CHECKOUT ClientEventType = 12
ClientEventType_REMOTE ClientEventType = 13
ClientEventType_PUSH ClientEventType = 14
ClientEventType_PULL ClientEventType = 15
ClientEventType_FETCH ClientEventType = 16
ClientEventType_CLONE ClientEventType = 17
ClientEventType_LOGIN ClientEventType = 18
ClientEventType_VERSION ClientEventType = 19
ClientEventType_CONFIG ClientEventType = 20
ClientEventType_LS ClientEventType = 21
ClientEventType_SCHEMA ClientEventType = 22
ClientEventType_TABLE_IMPORT ClientEventType = 23
ClientEventType_TABLE_EXPORT ClientEventType = 24
ClientEventType_TABLE_CREATE ClientEventType = 25
ClientEventType_TABLE_RM ClientEventType = 26
ClientEventType_TABLE_MV ClientEventType = 27
ClientEventType_TABLE_CP ClientEventType = 28
ClientEventType_TABLE_SELECT ClientEventType = 29
ClientEventType_TABLE_PUT_ROW ClientEventType = 30
ClientEventType_TABLE_RM_ROW ClientEventType = 31
ClientEventType_CREDS_NEW ClientEventType = 32
ClientEventType_CREDS_RM ClientEventType = 33
ClientEventType_CREDS_LS ClientEventType = 34
ClientEventType_CONF_CAT ClientEventType = 35
ClientEventType_CONF_RESOLVE ClientEventType = 36
ClientEventType_REMOTEAPI_GET_REPO_METADATA ClientEventType = 37
ClientEventType_REMOTEAPI_HAS_CHUNKS ClientEventType = 38
ClientEventType_REMOTEAPI_GET_DOWNLOAD_LOCATIONS ClientEventType = 39
ClientEventType_REMOTEAPI_GET_UPLOAD_LOCATIONS ClientEventType = 40
ClientEventType_REMOTEAPI_REBASE ClientEventType = 41
ClientEventType_REMOTEAPI_ROOT ClientEventType = 42
ClientEventType_REMOTEAPI_COMMIT ClientEventType = 43
ClientEventType_REMOTEAPI_LIST_TABLE_FILES ClientEventType = 44
)
var ClientEventType_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "INIT",
2: "STATUS",
3: "ADD",
4: "RESET",
5: "COMMIT",
6: "SQL",
7: "SQL_SERVER",
8: "LOG",
9: "DIFF",
10: "MERGE",
11: "BRANCH",
12: "CHECKOUT",
13: "REMOTE",
14: "PUSH",
15: "PULL",
16: "FETCH",
17: "CLONE",
18: "LOGIN",
19: "VERSION",
20: "CONFIG",
21: "LS",
22: "SCHEMA",
23: "TABLE_IMPORT",
24: "TABLE_EXPORT",
25: "TABLE_CREATE",
26: "TABLE_RM",
27: "TABLE_MV",
28: "TABLE_CP",
29: "TABLE_SELECT",
30: "TABLE_PUT_ROW",
31: "TABLE_RM_ROW",
32: "CREDS_NEW",
33: "CREDS_RM",
34: "CREDS_LS",
35: "CONF_CAT",
36: "CONF_RESOLVE",
37: "REMOTEAPI_GET_REPO_METADATA",
38: "REMOTEAPI_HAS_CHUNKS",
39: "REMOTEAPI_GET_DOWNLOAD_LOCATIONS",
40: "REMOTEAPI_GET_UPLOAD_LOCATIONS",
41: "REMOTEAPI_REBASE",
42: "REMOTEAPI_ROOT",
43: "REMOTEAPI_COMMIT",
44: "REMOTEAPI_LIST_TABLE_FILES",
}
var ClientEventType_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"INIT": 1,
"STATUS": 2,
"ADD": 3,
"RESET": 4,
"COMMIT": 5,
"SQL": 6,
"SQL_SERVER": 7,
"LOG": 8,
"DIFF": 9,
"MERGE": 10,
"BRANCH": 11,
"CHECKOUT": 12,
"REMOTE": 13,
"PUSH": 14,
"PULL": 15,
"FETCH": 16,
"CLONE": 17,
"LOGIN": 18,
"VERSION": 19,
"CONFIG": 20,
"LS": 21,
"SCHEMA": 22,
"TABLE_IMPORT": 23,
"TABLE_EXPORT": 24,
"TABLE_CREATE": 25,
"TABLE_RM": 26,
"TABLE_MV": 27,
"TABLE_CP": 28,
"TABLE_SELECT": 29,
"TABLE_PUT_ROW": 30,
"TABLE_RM_ROW": 31,
"CREDS_NEW": 32,
"CREDS_RM": 33,
"CREDS_LS": 34,
"CONF_CAT": 35,
"CONF_RESOLVE": 36,
"REMOTEAPI_GET_REPO_METADATA": 37,
"REMOTEAPI_HAS_CHUNKS": 38,
"REMOTEAPI_GET_DOWNLOAD_LOCATIONS": 39,
"REMOTEAPI_GET_UPLOAD_LOCATIONS": 40,
"REMOTEAPI_REBASE": 41,
"REMOTEAPI_ROOT": 42,
"REMOTEAPI_COMMIT": 43,
"REMOTEAPI_LIST_TABLE_FILES": 44,
}
func (x ClientEventType) String() string {
return proto.EnumName(ClientEventType_name, int32(x))
}
func (ClientEventType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_2059ca7f76f8dca6, []int{1}
}
type MetricID int32
const (
MetricID_METRIC_UNSPECIFIED MetricID = 0
MetricID_BYTES_DOWNLOADED MetricID = 1
MetricID_DOWNLOAD_MS_ELAPSED MetricID = 2
MetricID_REMOTEAPI_RPC_ERROR MetricID = 3
)
var MetricID_name = map[int32]string{
0: "METRIC_UNSPECIFIED",
1: "BYTES_DOWNLOADED",
2: "DOWNLOAD_MS_ELAPSED",
3: "REMOTEAPI_RPC_ERROR",
}
var MetricID_value = map[string]int32{
"METRIC_UNSPECIFIED": 0,
"BYTES_DOWNLOADED": 1,
"DOWNLOAD_MS_ELAPSED": 2,
"REMOTEAPI_RPC_ERROR": 3,
}
func (x MetricID) String() string {
return proto.EnumName(MetricID_name, int32(x))
}
func (MetricID) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_2059ca7f76f8dca6, []int{2}
}
type AttributeID int32
const (
AttributeID_ATTRIBUTE_UNSPECIFIED AttributeID = 0
AttributeID_REMOTE_URL_SCHEME AttributeID = 2
)
var AttributeID_name = map[int32]string{
0: "ATTRIBUTE_UNSPECIFIED",
2: "REMOTE_URL_SCHEME",
}
var AttributeID_value = map[string]int32{
"ATTRIBUTE_UNSPECIFIED": 0,
"REMOTE_URL_SCHEME": 2,
}
func (x AttributeID) String() string {
return proto.EnumName(AttributeID_name, int32(x))
}
func (AttributeID) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_2059ca7f76f8dca6, []int{3}
}
type ClientEventAttribute struct {
Id AttributeID `protobuf:"varint,1,opt,name=id,proto3,enum=dolt.services.eventsapi.v1alpha1.AttributeID" json:"id,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
@@ -488,6 +246,7 @@ type LogEventsRequest struct {
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
Platform Platform `protobuf:"varint,4,opt,name=platform,proto3,enum=dolt.services.eventsapi.v1alpha1.Platform" json:"platform,omitempty"`
Events []*ClientEvent `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"`
App AppID `protobuf:"varint,6,opt,name=app,proto3,enum=dolt.services.eventsapi.v1alpha1.AppID" json:"app,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -553,6 +312,13 @@ func (m *LogEventsRequest) GetEvents() []*ClientEvent {
return nil
}
func (m *LogEventsRequest) GetApp() AppID {
if m != nil {
return m.App
}
return AppID_APP_ID_UNSPECIFIED
}
type LogEventsResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
@@ -585,10 +351,6 @@ func (m *LogEventsResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_LogEventsResponse proto.InternalMessageInfo
func init() {
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.Platform", Platform_name, Platform_value)
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.ClientEventType", ClientEventType_name, ClientEventType_value)
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.MetricID", MetricID_name, MetricID_value)
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.AttributeID", AttributeID_name, AttributeID_value)
proto.RegisterType((*ClientEventAttribute)(nil), "dolt.services.eventsapi.v1alpha1.ClientEventAttribute")
proto.RegisterType((*ClientEventMetric)(nil), "dolt.services.eventsapi.v1alpha1.ClientEventMetric")
proto.RegisterType((*ClientEvent)(nil), "dolt.services.eventsapi.v1alpha1.ClientEvent")
@@ -601,78 +363,45 @@ func init() {
}
var fileDescriptor_2059ca7f76f8dca6 = []byte{
// 1125 bytes of a gzipped FileDescriptorProto
0x1f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71, 0xee, 0xba, 0xdc, 0x54, 0x8c, 0xb3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xce, 0x5d, 0x91,
0xf8, 0x19, 0x09, 0x00, 0x00,
// 593 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6e, 0xd3, 0x30,
0x14, 0x5e, 0xdb, 0xb5, 0x6b, 0x4f, 0xd1, 0xc4, 0xbc, 0x09, 0x85, 0x4a, 0x40, 0xd5, 0x1b, 0x26,
0xa4, 0x25, 0x5a, 0x2a, 0x86, 0x26, 0xc4, 0x05, 0xa3, 0x83, 0x55, 0x62, 0x12, 0x32, 0x03, 0x24,
0x6e, 0x2a, 0x37, 0xf1, 0x52, 0x8b, 0xc4, 0xf6, 0x62, 0xa7, 0x62, 0xcf, 0xc0, 0xa3, 0xf0, 0x0c,
0x3c, 0x1a, 0x12, 0x8a, 0x9d, 0x44, 0xd1, 0xb8, 0xc8, 0x7a, 0x79, 0x7e, 0xbe, 0xef, 0x7c, 0xe7,
0xc7, 0x86, 0x69, 0x28, 0x62, 0xed, 0x29, 0x9a, 0xae, 0x59, 0x40, 0x95, 0x47, 0xd7, 0x94, 0x6b,
0x45, 0x24, 0xf3, 0xd6, 0xc7, 0x24, 0x96, 0x2b, 0x72, 0xec, 0x05, 0x31, 0xa3, 0x5c, 0x2f, 0x4c,
0xc4, 0x95, 0xa9, 0xd0, 0x02, 0x8d, 0x73, 0x90, 0x5b, 0x82, 0xdc, 0x0a, 0xe4, 0x96, 0xa0, 0xd1,
0x49, 0x23, 0xad, 0x71, 0x2d, 0x02, 0xc1, 0x95, 0x26, 0x5c, 0x2b, 0xcb, 0x3c, 0x7a, 0x1a, 0x09,
0x11, 0xc5, 0xd4, 0x33, 0xd6, 0x32, 0xbb, 0xf6, 0xc2, 0x2c, 0x25, 0x9a, 0x09, 0x5e, 0xc4, 0x9f,
0xdd, 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x6f,
0xae, 0x73, 0x77, 0x0d, 0xa3, 0xe9, 0x46, 0x18, 0xab, 0xe6, 0xec, 0xdb, 0xf7, 0x2f, 0x11, 0xd3,
0xab, 0x6c, 0xe9, 0x06, 0x22, 0xf1, 0x62, 0x76, 0x93, 0xb1, 0x90, 0x68, 0x72, 0xc4, 0x78, 0xe0,
0x99, 0x1f, 0x31, 0x12, 0x5e, 0x44, 0xb9, 0xfd, 0xbe, 0xbc, 0xa6, 0x3f, 0xf2, 0x75, 0xe5, 0x5a,
0xf6, 0x0c, 0x62, 0xfa, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xec, 0xa0, 0x98, 0x9a, 0xaf, 0x05, 0x00,
0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -0,0 +1,350 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: dolt/services/eventsapi/v1alpha1/event_constants.proto
package eventsapi
import (
fmt "fmt"
proto "github.com/golang/protobuf/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.ProtoPackageIsVersion3 // please upgrade the proto package
type Platform int32
const (
Platform_PLATFORM_UNSPECIFIED Platform = 0
Platform_LINUX Platform = 1
Platform_WINDOWS Platform = 2
Platform_DARWIN Platform = 3
)
var Platform_name = map[int32]string{
0: "PLATFORM_UNSPECIFIED",
1: "LINUX",
2: "WINDOWS",
3: "DARWIN",
}
var Platform_value = map[string]int32{
"PLATFORM_UNSPECIFIED": 0,
"LINUX": 1,
"WINDOWS": 2,
"DARWIN": 3,
}
func (x Platform) String() string {
return proto.EnumName(Platform_name, int32(x))
}
func (Platform) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_d970d881fa70959f, []int{0}
}
type ClientEventType int32
const (
ClientEventType_TYPE_UNSPECIFIED ClientEventType = 0
ClientEventType_INIT ClientEventType = 1
ClientEventType_STATUS ClientEventType = 2
ClientEventType_ADD ClientEventType = 3
ClientEventType_RESET ClientEventType = 4
ClientEventType_COMMIT ClientEventType = 5
ClientEventType_SQL ClientEventType = 6
ClientEventType_SQL_SERVER ClientEventType = 7
ClientEventType_LOG ClientEventType = 8
ClientEventType_DIFF ClientEventType = 9
ClientEventType_MERGE ClientEventType = 10
ClientEventType_BRANCH ClientEventType = 11
ClientEventType_CHECKOUT ClientEventType = 12
ClientEventType_REMOTE ClientEventType = 13
ClientEventType_PUSH ClientEventType = 14
ClientEventType_PULL ClientEventType = 15
ClientEventType_FETCH ClientEventType = 16
ClientEventType_CLONE ClientEventType = 17
ClientEventType_LOGIN ClientEventType = 18
ClientEventType_VERSION ClientEventType = 19
ClientEventType_CONFIG ClientEventType = 20
ClientEventType_LS ClientEventType = 21
ClientEventType_SCHEMA ClientEventType = 22
ClientEventType_TABLE_IMPORT ClientEventType = 23
ClientEventType_TABLE_EXPORT ClientEventType = 24
ClientEventType_TABLE_CREATE ClientEventType = 25
ClientEventType_TABLE_RM ClientEventType = 26
ClientEventType_TABLE_MV ClientEventType = 27
ClientEventType_TABLE_CP ClientEventType = 28
ClientEventType_TABLE_SELECT ClientEventType = 29
ClientEventType_TABLE_PUT_ROW ClientEventType = 30
ClientEventType_TABLE_RM_ROW ClientEventType = 31
ClientEventType_CREDS_NEW ClientEventType = 32
ClientEventType_CREDS_RM ClientEventType = 33
ClientEventType_CREDS_LS ClientEventType = 34
ClientEventType_CONF_CAT ClientEventType = 35
ClientEventType_CONF_RESOLVE ClientEventType = 36
ClientEventType_REMOTEAPI_GET_REPO_METADATA ClientEventType = 37
ClientEventType_REMOTEAPI_HAS_CHUNKS ClientEventType = 38
ClientEventType_REMOTEAPI_GET_DOWNLOAD_LOCATIONS ClientEventType = 39
ClientEventType_REMOTEAPI_GET_UPLOAD_LOCATIONS ClientEventType = 40
ClientEventType_REMOTEAPI_REBASE ClientEventType = 41
ClientEventType_REMOTEAPI_ROOT ClientEventType = 42
ClientEventType_REMOTEAPI_COMMIT ClientEventType = 43
ClientEventType_REMOTEAPI_LIST_TABLE_FILES ClientEventType = 44
)
var ClientEventType_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "INIT",
2: "STATUS",
3: "ADD",
4: "RESET",
5: "COMMIT",
6: "SQL",
7: "SQL_SERVER",
8: "LOG",
9: "DIFF",
10: "MERGE",
11: "BRANCH",
12: "CHECKOUT",
13: "REMOTE",
14: "PUSH",
15: "PULL",
16: "FETCH",
17: "CLONE",
18: "LOGIN",
19: "VERSION",
20: "CONFIG",
21: "LS",
22: "SCHEMA",
23: "TABLE_IMPORT",
24: "TABLE_EXPORT",
25: "TABLE_CREATE",
26: "TABLE_RM",
27: "TABLE_MV",
28: "TABLE_CP",
29: "TABLE_SELECT",
30: "TABLE_PUT_ROW",
31: "TABLE_RM_ROW",
32: "CREDS_NEW",
33: "CREDS_RM",
34: "CREDS_LS",
35: "CONF_CAT",
36: "CONF_RESOLVE",
37: "REMOTEAPI_GET_REPO_METADATA",
38: "REMOTEAPI_HAS_CHUNKS",
39: "REMOTEAPI_GET_DOWNLOAD_LOCATIONS",
40: "REMOTEAPI_GET_UPLOAD_LOCATIONS",
41: "REMOTEAPI_REBASE",
42: "REMOTEAPI_ROOT",
43: "REMOTEAPI_COMMIT",
44: "REMOTEAPI_LIST_TABLE_FILES",
}
var ClientEventType_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"INIT": 1,
"STATUS": 2,
"ADD": 3,
"RESET": 4,
"COMMIT": 5,
"SQL": 6,
"SQL_SERVER": 7,
"LOG": 8,
"DIFF": 9,
"MERGE": 10,
"BRANCH": 11,
"CHECKOUT": 12,
"REMOTE": 13,
"PUSH": 14,
"PULL": 15,
"FETCH": 16,
"CLONE": 17,
"LOGIN": 18,
"VERSION": 19,
"CONFIG": 20,
"LS": 21,
"SCHEMA": 22,
"TABLE_IMPORT": 23,
"TABLE_EXPORT": 24,
"TABLE_CREATE": 25,
"TABLE_RM": 26,
"TABLE_MV": 27,
"TABLE_CP": 28,
"TABLE_SELECT": 29,
"TABLE_PUT_ROW": 30,
"TABLE_RM_ROW": 31,
"CREDS_NEW": 32,
"CREDS_RM": 33,
"CREDS_LS": 34,
"CONF_CAT": 35,
"CONF_RESOLVE": 36,
"REMOTEAPI_GET_REPO_METADATA": 37,
"REMOTEAPI_HAS_CHUNKS": 38,
"REMOTEAPI_GET_DOWNLOAD_LOCATIONS": 39,
"REMOTEAPI_GET_UPLOAD_LOCATIONS": 40,
"REMOTEAPI_REBASE": 41,
"REMOTEAPI_ROOT": 42,
"REMOTEAPI_COMMIT": 43,
"REMOTEAPI_LIST_TABLE_FILES": 44,
}
func (x ClientEventType) String() string {
return proto.EnumName(ClientEventType_name, int32(x))
}
func (ClientEventType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_d970d881fa70959f, []int{1}
}
type MetricID int32
const (
MetricID_METRIC_UNSPECIFIED MetricID = 0
MetricID_BYTES_DOWNLOADED MetricID = 1
MetricID_DOWNLOAD_MS_ELAPSED MetricID = 2
MetricID_REMOTEAPI_RPC_ERROR MetricID = 3
)
var MetricID_name = map[int32]string{
0: "METRIC_UNSPECIFIED",
1: "BYTES_DOWNLOADED",
2: "DOWNLOAD_MS_ELAPSED",
3: "REMOTEAPI_RPC_ERROR",
}
var MetricID_value = map[string]int32{
"METRIC_UNSPECIFIED": 0,
"BYTES_DOWNLOADED": 1,
"DOWNLOAD_MS_ELAPSED": 2,
"REMOTEAPI_RPC_ERROR": 3,
}
func (x MetricID) String() string {
return proto.EnumName(MetricID_name, int32(x))
}
func (MetricID) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_d970d881fa70959f, []int{2}
}
type AttributeID int32
const (
AttributeID_ATTRIBUTE_UNSPECIFIED AttributeID = 0
AttributeID_REMOTE_URL_SCHEME AttributeID = 2
)
var AttributeID_name = map[int32]string{
0: "ATTRIBUTE_UNSPECIFIED",
2: "REMOTE_URL_SCHEME",
}
var AttributeID_value = map[string]int32{
"ATTRIBUTE_UNSPECIFIED": 0,
"REMOTE_URL_SCHEME": 2,
}
func (x AttributeID) String() string {
return proto.EnumName(AttributeID_name, int32(x))
}
func (AttributeID) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_d970d881fa70959f, []int{3}
}
type AppID int32
const (
AppID_APP_ID_UNSPECIFIED AppID = 0
AppID_APP_DOLT AppID = 1
)
var AppID_name = map[int32]string{
0: "APP_ID_UNSPECIFIED",
1: "APP_DOLT",
}
var AppID_value = map[string]int32{
"APP_ID_UNSPECIFIED": 0,
"APP_DOLT": 1,
}
func (x AppID) String() string {
return proto.EnumName(AppID_name, int32(x))
}
func (AppID) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_d970d881fa70959f, []int{4}
}
func init() {
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.Platform", Platform_name, Platform_value)
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.ClientEventType", ClientEventType_name, ClientEventType_value)
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.MetricID", MetricID_name, MetricID_value)
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.AttributeID", AttributeID_name, AttributeID_value)
proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.AppID", AppID_name, AppID_value)
}
func init() {
proto.RegisterFile("dolt/services/eventsapi/v1alpha1/event_constants.proto", fileDescriptor_d970d881fa70959f)
}
var fileDescriptor_d970d881fa70959f = []byte{
// 743 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xdb, 0x72, 0xdb, 0x36,
0x10, 0xad, 0x7c, 0x95, 0xe1, 0x4b, 0xd6, 0x88, 0x9d, 0x6b, 0xeb, 0xb8, 0x6e, 0x7a, 0x53, 0x1b,
0x69, 0x32, 0x9d, 0xe9, 0x4b, 0x9f, 0x20, 0x60, 0x25, 0x61, 0x02, 0x12, 0x0c, 0x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d5, 0xad, 0x22, 0xeb, 0x51, 0xb1, 0xc4, 0xa2, 0x80, 0x8d, 0x50,
0xb8, 0xd3, 0x5c, 0xc2, 0x3d, 0x1a, 0xa3, 0x0d, 0x6c, 0xb6, 0x90, 0xec, 0xb3, 0xa2, 0x58, 0xe4,
0x57, 0x37, 0x45, 0x26, 0x05, 0x7d, 0x4a, 0x4e, 0x99, 0x73, 0x46, 0x76, 0x53, 0xb7, 0xfe, 0x47,
0x9d, 0x92, 0xe3, 0x2a, 0xc2, 0xa7, 0x46, 0xf9, 0x72, 0xe7, 0x10, 0x36, 0x2e, 0xb6, 0x9a, 0x0d,
0x68, 0xb4, 0x5e, 0x91, 0x6d, 0x36, 0x9f, 0x57, 0xfd, 0xb2, 0x24, 0xf1, 0x52, 0xac, 0xb9, 0x0f,
0x48, 0x33, 0xf0, 0x42, 0x2b, 0x07, 0x8d, 0xee, 0xf0, 0xf7, 0xf4, 0x3a, 0x2f, 0x3e, 0xde, 0x5c,
0xb5, 0xc7, 0xb3, 0x4f, 0x9d, 0x49, 0xfe, 0xd7, 0x4d, 0xfe, 0x61, 0x54, 0x8c, 0x5e, 0xe5, 0xd3,
0x71, 0xa7, 0x7c, 0x86, 0xae, 0x67, 0x9d, 0xeb, 0x6c, 0xda, 0x29, 0x5f, 0x98, 0xce, 0xff, 0x3d,
0x4c, 0xbf, 0xad, 0xa8, 0xab, 0x9d, 0xd2, 0xf1, 0xcb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4b,
0xfd, 0xa9, 0x61, 0xcd, 0x04, 0x00, 0x00,
}
+5 -2
View File
@@ -12,7 +12,8 @@ PROTOC_FLAGS = --plugin=protoc-gen-go=$(PROTOC_GEN_GO) -I . -I $(GOOGLEAPIS) -I
pbgo_out := ../go/gen/proto
EVENTSAPI_protos := \
dolt/services/eventsapi/v1alpha1/client_event.proto
dolt/services/eventsapi/v1alpha1/client_event.proto \
dolt/services/eventsapi/v1alpha1/event_constants.proto
EVENTSAPI_pbgo_pkg_path := dolt/services/eventsapi/v1alpha1
REMOTESAPI_protos := \
@@ -21,8 +22,10 @@ REMOTESAPI_protos := \
REMOTESAPI_pbgo_pkg_path := dolt/services/remotesapi/v1alpha1
PBGO_pkgs := \
CLIENTEVENTS \
REMOTESAPI \
EVENTSAPI
EVENTSAPI \
EVENTSAPI2
all:
@@ -12,12 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// WARNING: This file was is automatically generated. DO NOT EDIT BY HAND.
syntax = "proto3";
package dolt.services.eventsapi.v1alpha1;
option go_package = "github.com/liquidata-inc/dolt/go/gen/proto/dolt/services/eventsapi/v1alpha1;eventsapi";
import "dolt/services/eventsapi/v1alpha1/event_constants.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
@@ -25,75 +28,8 @@ service ClientEventsService {
rpc LogEvents(LogEventsRequest) returns (LogEventsResponse);
}
enum Platform {
PLATFORM_UNSPECIFIED = 0;
LINUX = 1;
WINDOWS = 2;
DARWIN = 3;
}
enum ClientEventType {
TYPE_UNSPECIFIED = 0;
INIT = 1;
STATUS = 2;
ADD = 3;
RESET = 4;
COMMIT = 5;
SQL = 6;
SQL_SERVER = 7;
LOG = 8;
DIFF = 9;
MERGE = 10;
BRANCH = 11;
CHECKOUT = 12;
REMOTE = 13;
PUSH = 14;
PULL = 15;
FETCH = 16;
CLONE = 17;
LOGIN = 18;
VERSION = 19;
CONFIG = 20;
LS = 21;
SCHEMA = 22;
TABLE_IMPORT = 23;
TABLE_EXPORT = 24;
TABLE_CREATE = 25;
TABLE_RM = 26;
TABLE_MV = 27;
TABLE_CP = 28;
TABLE_SELECT = 29;
TABLE_PUT_ROW = 30;
TABLE_RM_ROW = 31;
CREDS_NEW = 32;
CREDS_RM = 33;
CREDS_LS = 34;
CONF_CAT = 35;
CONF_RESOLVE = 36;
REMOTEAPI_GET_REPO_METADATA = 37;
REMOTEAPI_HAS_CHUNKS = 38;
REMOTEAPI_GET_DOWNLOAD_LOCATIONS = 39;
REMOTEAPI_GET_UPLOAD_LOCATIONS = 40;
REMOTEAPI_REBASE = 41;
REMOTEAPI_ROOT = 42;
REMOTEAPI_COMMIT = 43;
REMOTEAPI_LIST_TABLE_FILES = 44;
}
enum MetricID {
METRIC_UNSPECIFIED = 0;
BYTES_DOWNLOADED = 1;
DOWNLOAD_MS_ELAPSED = 2;
REMOTEAPI_RPC_ERROR = 3;
}
enum AttributeID {
ATTRIBUTE_UNSPECIFIED = 0;
REMOTE_URL_SCHEME = 2;
}
message ClientEventAttribute {
AttributeID id = 1;
dolt.services.eventsapi.v1alpha1.AttributeID id = 1;
string value = 2;
}
@@ -103,14 +39,14 @@ message ClientEventMetric {
int32 count = 2;
}
MetricID metric_id = 100;
dolt.services.eventsapi.v1alpha1.MetricID metric_id = 100;
}
message ClientEvent {
string id = 1;
google.protobuf.Timestamp start_time = 2;
google.protobuf.Timestamp end_time = 3;
ClientEventType type = 4;
dolt.services.eventsapi.v1alpha1.ClientEventType type = 4;
repeated ClientEventAttribute attributes = 5;
repeated ClientEventMetric metrics = 6;
}
@@ -119,8 +55,9 @@ message LogEventsRequest {
string machine_id = 1;
string extra = 2;
string version = 3;
Platform platform = 4;
dolt.services.eventsapi.v1alpha1.Platform platform = 4;
repeated ClientEvent events = 5;
dolt.services.eventsapi.v1alpha1.AppID app = 6;
}
message LogEventsResponse {
@@ -0,0 +1,94 @@
// Copyright 2019 Liquidata, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// WARNING: This file was is automatically generated. DO NOT EDIT BY HAND.
syntax = "proto3";
package dolt.services.eventsapi.v1alpha1;
option go_package = "github.com/liquidata-inc/dolt/go/gen/proto/dolt/services/eventsapi/v1alpha1;eventsapi";
enum Platform {
PLATFORM_UNSPECIFIED = 0;
LINUX = 1;
WINDOWS = 2;
DARWIN = 3;
}
enum ClientEventType {
TYPE_UNSPECIFIED = 0;
INIT = 1;
STATUS = 2;
ADD = 3;
RESET = 4;
COMMIT = 5;
SQL = 6;
SQL_SERVER = 7;
LOG = 8;
DIFF = 9;
MERGE = 10;
BRANCH = 11;
CHECKOUT = 12;
REMOTE = 13;
PUSH = 14;
PULL = 15;
FETCH = 16;
CLONE = 17;
LOGIN = 18;
VERSION = 19;
CONFIG = 20;
LS = 21;
SCHEMA = 22;
TABLE_IMPORT = 23;
TABLE_EXPORT = 24;
TABLE_CREATE = 25;
TABLE_RM = 26;
TABLE_MV = 27;
TABLE_CP = 28;
TABLE_SELECT = 29;
TABLE_PUT_ROW = 30;
TABLE_RM_ROW = 31;
CREDS_NEW = 32;
CREDS_RM = 33;
CREDS_LS = 34;
CONF_CAT = 35;
CONF_RESOLVE = 36;
REMOTEAPI_GET_REPO_METADATA = 37;
REMOTEAPI_HAS_CHUNKS = 38;
REMOTEAPI_GET_DOWNLOAD_LOCATIONS = 39;
REMOTEAPI_GET_UPLOAD_LOCATIONS = 40;
REMOTEAPI_REBASE = 41;
REMOTEAPI_ROOT = 42;
REMOTEAPI_COMMIT = 43;
REMOTEAPI_LIST_TABLE_FILES = 44;
}
enum MetricID {
METRIC_UNSPECIFIED = 0;
BYTES_DOWNLOADED = 1;
DOWNLOAD_MS_ELAPSED = 2;
REMOTEAPI_RPC_ERROR = 3;
}
enum AttributeID {
reserved 1;
ATTRIBUTE_UNSPECIFIED = 0;
REMOTE_URL_SCHEME = 2;
}
enum AppID {
APP_ID_UNSPECIFIED = 0;
APP_DOLT = 1;
}