github.com/gogo/protobuf@v1.3.2/test/typedecl_all/typedeclall.proto (about)

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