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

     1  syntax = "proto3";
     2  
     3  package typedeclimport;
     4  
     5  import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     6  
     7  import "github.com/gogo/protobuf/test/typedeclimport/subpkg/subpkg.proto";
     8  
     9  option (gogoproto.unmarshaler_all) = true;
    10  option (gogoproto.marshaler_all) = true;
    11  option (gogoproto.sizer_all) = true;
    12  option (gogoproto.equal_all) = true;
    13  option (gogoproto.verbose_equal_all) = true;
    14  
    15  message SomeMessage {
    16      option (gogoproto.typedecl) = false;
    17      subpkg.AnotherMessage imported = 1 [(gogoproto.nullable) = false];
    18  }