...

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

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

     1syntax = "proto3";
     2
     3package typedecl;
     4
     5import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     6
     7option (gogoproto.testgen_all) = true;
     8option (gogoproto.populate_all) = true;
     9option (gogoproto.benchgen_all) = true;
    10option (gogoproto.unmarshaler_all) = true;
    11option (gogoproto.marshaler_all) = true;
    12option (gogoproto.sizer_all) = true;
    13option (gogoproto.equal_all) = true;
    14option (gogoproto.verbose_equal_all) = true;
    15option (gogoproto.unsafe_marshaler_all) = false;
    16option (gogoproto.unsafe_unmarshaler_all) = false;
    17option (gogoproto.goproto_unrecognized_all) = false;
    18
    19message Dropped {
    20    option (gogoproto.typedecl) = false;
    21    string name = 1;
    22    int32 age = 2;
    23}
    24
    25message DroppedWithoutGetters {
    26    option (gogoproto.typedecl) = false;
    27    option (gogoproto.goproto_getters) = false;
    28    int64 height = 1;
    29    int64 width = 2;
    30}
    31
    32message Kept {
    33    string name = 1;
    34    int32 age = 2;
    35}

View as plain text