remove _ names rather than fix the autogenpb parser
This commit is contained in:
parent
b25d86f277
commit
65f9089a7a
16
event.proto
16
event.proto
|
@ -9,7 +9,7 @@ import "google/protobuf/any.proto"; // Import the well-known type for Timestamp
|
||||||
message Events { // `autogenpb:marshal` `autogenpb:gui`
|
message Events { // `autogenpb:marshal` `autogenpb:gui`
|
||||||
string uuid = 1; // `autogenpb:uuid:1e3a50c7-5916-4423-b33c-f0b977a7e446`
|
string uuid = 1; // `autogenpb:uuid:1e3a50c7-5916-4423-b33c-f0b977a7e446`
|
||||||
string version = 2; // `autogenpb:version:v0.0.1`
|
string version = 2; // `autogenpb:version:v0.0.1`
|
||||||
int64 event_size = 3; // max events to store in a single
|
int64 eventSize = 3; // max events to store in a single
|
||||||
repeated Event events = 4; // all the events
|
repeated Event events = 4; // all the events
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,16 +22,16 @@ message Event {
|
||||||
int32 id = 1; // `autogenpb:unique` // should be unique across the cluster
|
int32 id = 1; // `autogenpb:unique` // should be unique across the cluster
|
||||||
EventType etype = 2;
|
EventType etype = 2;
|
||||||
string droplet = 3; // name of the droplet
|
string droplet = 3; // name of the droplet
|
||||||
string droplet_uuid = 4; // uuid of the droplet
|
string dropletUuid = 4; // uuid of the droplet
|
||||||
string hypervisor = 5; // name of the hypervisor
|
string hypervisor = 5; // name of the hypervisor
|
||||||
string hypervisor_uuid = 6; // uuid of the hypervisor
|
string hypervisorUuid = 6; // uuid of the hypervisor
|
||||||
google.protobuf.Timestamp start = 7; // start time
|
google.protobuf.Timestamp start = 7; // start time
|
||||||
google.protobuf.Timestamp end = 8; // end time
|
google.protobuf.Timestamp end = 8; // end time
|
||||||
string field_name = 9; // the field name that changed
|
string fieldName = 9; // the field name that changed
|
||||||
string orig_val = 10; // original value
|
string origVal = 10; // original value
|
||||||
string new_val = 11; // new value
|
string newVal = 11; // new value
|
||||||
google.protobuf.Any orig_any = 12; // anypb format. probably overkill
|
google.protobuf.Any origAny = 12; // anypb format. probably overkill
|
||||||
google.protobuf.Any new_any = 13; // anypb format
|
google.protobuf.Any newAny = 13; // anypb format
|
||||||
}
|
}
|
||||||
|
|
||||||
enum EventType {
|
enum EventType {
|
||||||
|
|
Loading…
Reference in New Issue