Skip to content
protobuf.kmcd.dev

Practice

Protobuf Practice

Edit the schema, wait for the descriptor checks, and continue when everything passes.

Progress

Exercise 8: Well-Known Types

8. Well-Known Types
Context
This event needs a creation time. Instead of inventing a string or integer convention, use protobuf's standard `Timestamp` message.
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

Please satisfy all checks above