...

Text file src/github.com/gogo/protobuf/test/issue438/issue438.proto

Documentation: github.com/gogo/protobuf/test/issue438

     1syntax = "proto3";
     2
     3package issue438;
     4
     5import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     6import "google/protobuf/any.proto";
     7import "google/protobuf/api.proto";
     8import "google/protobuf/duration.proto";
     9import "google/protobuf/empty.proto";
    10import "google/protobuf/field_mask.proto";
    11import "google/protobuf/source_context.proto";
    12import "google/protobuf/struct.proto";
    13import "google/protobuf/timestamp.proto";
    14import "google/protobuf/type.proto";
    15import "google/protobuf/wrappers.proto";
    16
    17option (gogoproto.protosizer_all) = true;
    18option (gogoproto.sizer_all) = false;
    19
    20message Types {
    21  google.protobuf.Any any = 1;
    22  google.protobuf.Api api = 2;
    23  google.protobuf.Method met = 3;
    24  google.protobuf.Mixin mx = 4;
    25  google.protobuf.Duration dur = 5;
    26  google.protobuf.Empty em = 6;
    27  google.protobuf.FieldMask fm = 7;
    28  google.protobuf.SourceContext sc = 8;
    29  google.protobuf.Struct st = 9;
    30  google.protobuf.Value val = 10;
    31  google.protobuf.NullValue nlval = 11;
    32  google.protobuf.StringValue stval = 12;
    33  google.protobuf.BoolValue bval = 13;
    34  google.protobuf.Struct strval = 14;
    35  google.protobuf.ListValue lstv = 15;
    36  google.protobuf.Timestamp ts = 16;
    37  google.protobuf.Type t = 17;
    38  google.protobuf.Field f = 18;
    39  google.protobuf.Enum en = 19;
    40  google.protobuf.EnumValue enval = 20;
    41  google.protobuf.Option opt = 21;
    42  google.protobuf.DoubleValue dbl = 22;
    43  google.protobuf.FloatValue flt = 23;
    44  google.protobuf.Int64Value i64 = 24;
    45  google.protobuf.UInt64Value u64 = 25;
    46  google.protobuf.Int32Value i32 = 26;
    47  google.protobuf.UInt32Value u32 = 27;
    48  google.protobuf.BoolValue bool = 28;
    49  google.protobuf.StringValue str = 29;
    50  google.protobuf.BytesValue bytes = 30;
    51}
    52
    53

View as plain text