github.com/jhump/protocompile@v0.0.0-20221021153901-4f6f732835e8/internal/testprotos/desc_test_wellknowntypes.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/jhump/protocompile/internal/testprotos";
     4  
     5  package testprotos;
     6  
     7  import "google/protobuf/any.proto";
     8  import "google/protobuf/duration.proto";
     9  import "google/protobuf/timestamp.proto";
    10  import "google/protobuf/struct.proto";
    11  import "google/protobuf/wrappers.proto";
    12  
    13  message TestWellKnownTypes {
    14  	google.protobuf.Timestamp start_time = 1;
    15  	google.protobuf.Duration elapsed = 2;
    16  
    17  	google.protobuf.DoubleValue dbl = 3;
    18  	google.protobuf.FloatValue flt = 4;
    19  	google.protobuf.BoolValue bl = 5;
    20  	google.protobuf.Int32Value i32 = 6;
    21  	google.protobuf.Int64Value i64 = 7;
    22  	google.protobuf.UInt32Value u32 = 8;
    23  	google.protobuf.UInt64Value u64 = 9;
    24  	google.protobuf.StringValue str = 10;
    25  	google.protobuf.BytesValue byt = 11;
    26  
    27  	repeated google.protobuf.Value json = 12;
    28  
    29  	repeated google.protobuf.Any extras = 13;
    30  }