summaryrefslogtreecommitdiff
path: root/experiments.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-24 17:52:46 -0500
committerJeff Carr <[email protected]>2024-10-24 17:52:46 -0500
commit7a0925041e8f980b3f922d4f75cdec8460d8772d (patch)
treedda38eaa55ab14a6b16667cc3f221338f271be1b /experiments.proto
parent6de8328027d5d50e417ddae275a0358873293b00 (diff)
of course I spelled this wrong
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'experiments.proto')
-rw-r--r--experiments.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/experiments.proto b/experiments.proto
new file mode 100644
index 0000000..2db67b3
--- /dev/null
+++ b/experiments.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+package virtbuf;
+
+import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
+import "google/protobuf/any.proto"; // Import the well-known type for Timestamp
+
+message WhatsThis {
+ // is it possible to have custom formatting in JSON and TEXT marshal/unmarshal ?
+ WhatInfo humantest = 1;
+
+ google.protobuf.Timestamp end = 2; // end time
+ google.protobuf.Any orig_val = 3; // original value
+ google.protobuf.Any new_val = 4; // new value
+}
+
+// this is for exerimenting
+message WhatInfo {
+ int64 capacity = 1; // Stores the storage capacity in bytes.
+}