Skip to content

Instantly share code, notes, and snippets.

@amsokol
Created December 16, 2018 10:53
Show Gist options
  • Save amsokol/865ce0981873e09429598fcdceeca1fb to your computer and use it in GitHub Desktop.
Save amsokol/865ce0981873e09429598fcdceeca1fb to your computer and use it in GitHub Desktop.
syntax = "proto3";
package main;
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
message Data {
bool boolValue = 1;
int64 int64Value = 2;
double doubleValue = 3;
string stringValue = 4;
google.protobuf.Timestamp timestampValue = 5;
google.protobuf.BoolValue boolWrappedValue = 6;
google.protobuf.Int64Value int64WrappedValue = 7;
google.protobuf.DoubleValue doubleWrappedValue = 8;
google.protobuf.StringValue stringWrappedValue = 9;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment