docs: static int getWireFormatForFieldType(final WireFormat.FieldType type, boolean isPacked) {
          if (isPacked) {
              return WireFormat.WIRETYPE_LENGTH_DELIMITED;
          } else {
              return type.getWireType();
          }
      }