...

Text file src/github.com/gogo/protobuf/test/typedecl_all/typedeclall.proto

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

     1syntax = "proto3";
     2
     3package typedeclall;
     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;
    18option (gogoproto.typedecl_all) = false;
    19
    20message Dropped {
    21    string name = 1;
    22    int32 age = 2;
    23}
    24
    25message DroppedWithoutGetters {
    26    option (gogoproto.goproto_getters) = false;
    27    int64 height = 1;
    28    int64 width = 2;
    29}
    30
    31message Kept {
    32    option (gogoproto.typedecl) = true;
    33    string name = 1;
    34    int32 age = 2;
    35}

View as plain text