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

     1  
     2  message MessageWithMap {
     3    map<int32, string> name_mapping = 1;
     4    map<sint64, FloatingPoint> msg_mapping = 2;
     5    map<bool, bytes> byte_mapping = 3;
     6  }
     7  
     8  message FloatingPoint {
     9    double f = 1;
    10  }
    11  
    12  message Uint128Pair {
    13    bytes left = 1 [(gogoproto.nullable) = false, (gogoproto.customtype) = "github.com/gogo/protobuf/test/custom.Uint128"];
    14    bytes right = 2 [(gogoproto.customtype) = "github.com/gogo/protobuf/test/custom.Uint128"];
    15  }
    16  
    17  message ContainsNestedMap {
    18  	message NestedMap {
    19  		map<string, double> NestedMapField = 1;
    20  	}
    21  }
    22  
    23  message NotPacked {
    24  	repeated uint64 key = 5 [packed=false];
    25  }