Skip to content

Protobuf Practice

Edit the schema and the descriptor checks run as you type. Continue when everything passes.

Progress

Exercise 7: Well-Known Types

7. Well-Known Types

Context
This event needs a creation time. Rather than inventing a string or integer convention, use the standard Timestamp.
Task

Import google/protobuf/timestamp.proto and add a created_at field of type google.protobuf.Timestamp at tag number 2.

schema.proto
Valid Schema
syntax = "proto3";

package practice;

// EventLog tracks generic events
message EventLog {
  string event_name = 1;
}
Evaluation checks
Imports 'google/protobuf/timestamp.proto'.
Field 'created_at' of type 'google.protobuf.Timestamp' exists.

Exercise Incomplete

Checks remaining above