github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/example/thing/thing.proto (about)

     1  syntax = "proto3";
     2  
     3  package example.thing;
     4  
     5  option java_multiple_files = true;
     6  option java_package = "com.github.stackb.rules_proto.example.thing";
     7  option go_package = "github.com/stackb/rules_proto/example/thing;thing";
     8  
     9  import "google/protobuf/timestamp.proto";
    10  
    11  message Thing {
    12      string id = 1;
    13      google.protobuf.Timestamp created_at = 2;
    14  }
    15  
    16  enum Status {
    17      UNKNOWN = 0;
    18      OK = 1;
    19  }